WPDev.one
Core Function
View Source on Trac ↗

comment_excerpt()

comment_excerpt( mixed $comment_id = 0 )

Displays the excerpt of the current comment.

Parameters 1 required

Name / Type Description
mixed

(int | WP_Comment) $comment_id Optional. WP_Comment or ID of the comment for which to print the excerpt. Default current comment.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
1.2.0
Source File
wp-includes/comment-template.php
Advertisement