WPDev.one
Core Function
View Source on Trac ↗

comment_text()

comment_text( mixed $comment_id = 0, mixed $args = array() )

Displays the text 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 text. Default current comment.

Required
$args
array

Optional. An array of arguments. Default empty array.

Return Value

(void)
No return value description available.

Function Information

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