Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/comment-template.php | apply_filters | 2452 | /** * Filters the default comment form fields. * * @since 3.0.0 * * @param string[] $fields Array of the default comment fields. */ |
wp-includes/comment-template.php | apply_filters | 2463 | /** * Filters the default comment form fields. * * @since 3.0.0 * * @param string[] $fields Array of the default comment fields. */ |
wp-includes/link-template.php | apply_filters | 27 | /** * Filters the display of the permalink for the current post. * * @since 1.5.0 * @since 4.4.0 Added the `$post` parameter. * * @param string $permalink The permalink for the current post. * @param int|WP_Post $post Post ID, WP_Post object, or 0. Default 0. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $permalink | The permalink for the current post. |
int|WP_Post | $post | Post ID, WP_Post object, or 0. Default 0. |