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.
See also
Parameters
- $content
(string)The reply-to form content.
- $args
(array)An array of default args.
Source
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |