WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about comment_excerpt

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/comment-template.php apply_filters 656 /**
* Filters the comment excerpt for display.
* @since 1.2.0
* @since 4.1.0 The `$comment_ID` parameter was added.
* @param string $comment_excerpt The comment excerpt text.
* @param string $comment_ID The comment ID as a numeric string.

Hook Parameters

Parameter Type Name Description
int $comment_excerpt_length The amount of words you want to display in the comment excerpt.