W3cubDocs

/WordPress

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 on Trac

Changelog

Version Description
2.7.0 Introduced.

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