comment_reply_link WordPress Filter Hook
The comment_reply_link hook is used to generate a link to reply to a comment. It is used in the default WordPress comments template.
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
Source
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |