On this page
apply_filters( 'comment_reply_link', string $link, array $args, WP_Comment $comment, WP_Post $post )
Filters the comment reply link.
Parameters
$linkstring-
The HTML markup for the comment reply link.
$argsarray-
An array of arguments overriding the defaults.
$commentWP_Comment-
The object of the comment being replied.
$postWP_Post-
The WP_Post object.
Source
File: wp-includes/comment-template.php. View all references
return apply_filters( 'comment_reply_link', $args['before'] . $link . $args['after'], $args, $comment, $post );
Related
Used By
| Used By | Description |
|---|---|
| get_comment_reply_link() wp-includes/comment-template.php | Retrieves HTML content for reply to comment link. |
Changelog
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_reply_link