On this page
apply_filters( 'comment_excerpt', string $comment_excerpt, string $comment_ID )
Filters the comment excerpt for display.
Parameters
$comment_excerptstring-
The comment excerpt text.
$comment_IDstring-
The comment ID as a numeric string.
Source
File: wp-includes/comment-template.php. View all references
echo apply_filters( 'comment_excerpt', $comment_excerpt, $comment->comment_ID );
Related
Used By
| Used By | Description |
|---|---|
| comment_excerpt() wp-includes/comment-template.php | Displays the excerpt of the current comment. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_excerpt