wordpress / latest / hooks / comment_reply_link.html

apply_filters( 'comment_reply_link', string $link, array $args, WP_Comment $comment, WP_Post $post )

Filters the comment reply link.

Parameters

$link string
The HTML markup for the comment reply link.
$args array
An array of arguments overriding the defaults.
$comment WP_Comment
The object of the comment being replied.
$post WP_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 );

Used By

Used By Description

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