apply_filters( 'comment_excerpt', string $comment_excerpt , string $comment_id )
Filters the comment excerpt for display.
Parameters
-
$comment_excerpt
string -
The comment excerpt text.
-
$comment_id
string -
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 );
Changelog
Version | Description |
---|---|
4.1.0 | The $comment_id parameter was added. |
1.2.0 | Introduced. |