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

(WP_Post)The WP_Post object.


Top ↑

Source

File: wp-includes/comment-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More