wp_comment_reply WordPress Filter Hook

The wp_comment_reply hook is used to respond to a comment on a WordPress post. It allows you to add a response to a comment, and then reply to that comment. This hook is useful for responding to comments on your blog or website.

apply_filters( 'wp_comment_reply', string $content, array $args ) #

Filters the in-line comment reply-to form output in the Comments list table.


Description

Returning a non-empty value here will short-circuit display of the in-line comment-reply form in the Comments list table, echoing the returned value instead.

Top ↑

See also


Top ↑

Parameters

$content

(string)The reply-to form content.

$args

(array)An array of default args.


Top ↑

Source

File: wp-admin/includes/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.