W3cubDocs

/WordPress

apply_filters( ‘get_comment_text’, string $comment_text, WP_Comment $comment, array $args )

Filters the text of a comment.

Description

See also

Parameters

$comment_textstring
Text of the comment.
$commentWP_Comment
The comment object.
$argsarray
An array of arguments.

Source

return apply_filters( 'get_comment_text', $comment_text, $comment, $args );

Changelog

Version Description
1.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_comment_text