wphooks.info - comment_excerpt

comment_excerpt

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/comment-template.php:
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
	/**
	 * 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 int    $comment_ID      The comment ID.
	 */
	echo apply_filters( 'comment_excerpt', $comment_excerpt, $comment->comment_ID );
}

/**
 * Retrieve the comment id of the current comment.
 *
 * @since 1.5.0
 *
 * @return int The comment ID.
 */