comment_reply_link_args WordPress Filter Hook

The comment_reply_link_args hook allows you to modify the default arguments used for the comment reply link. This can be useful if you want to change the default behavior of the link, or add additional arguments for use in your own custom functions.

apply_filters( 'comment_reply_link_args', array $args, WP_Comment $comment, WP_Post $post ) #

Filters the comment reply link arguments.


Parameters

$args

(array)Comment reply link arguments. See get_comment_reply_link() for more information on accepted arguments.

$comment

(WP_Comment)The object of the comment being replied to.

$post

(WP_Post)The WP_Post object.


Top ↑

Source

File: wp-includes/comment-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.1.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