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.

Top ↑

Source

File: wp-includes/comment-template.php. View all references

echo apply_filters( 'comment_excerpt', $comment_excerpt, $comment->comment_ID );


Top ↑

Changelog

Changelog
Version Description
4.1.0 The $comment_id parameter was added.
1.2.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.