function comment_text( $comment_ID = 0 ) {}

Displays the text of the current comment.


  • int $comment_ID: The ID of the comment for which to print the text. Optional.

Defined filters

  • comment_text
    apply_filters( 'comment_text', get_comment_text( $comment_ID )

Source code

function comment_text( $comment_ID = 0 ) {

	$comment = get_comment( $comment_ID );

	echo apply_filters( 'comment_text', get_comment_text( $comment_ID ), $comment );



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: