W3cubDocs

/WordPress

apply_filters( ‘comment_reply_link’, string $comment_reply_link, array $args, WP_Comment $comment, WP_Post $post )

Filters the comment reply link.

Parameters

$comment_reply_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

return apply_filters( 'comment_reply_link', $comment_reply_link, $args, $comment, $post );

Changelog

Version Description
2.7.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_reply_link