get_comment_text


get_comment_text ( $comment_ID = 0, $args = array() )

Parameters:
  • (int|WP_Comment) $comment_ID WP_Comment or ID of the comment for which to get the text. Default current comment.
  • (array) $args Optional. An array of arguments. Default empty.
See:
  • Walker_Comment::comment()
Returns:
  • (string) The comment content.
Defined at:
Change Log:
  • 4: .

Description

Retrieve the text of the current comment.

Related Functions

get_comment_time, get_comment_type, get_comment_meta, get_comment_date, get_comment_excerpt

Top Google Results

User discussions

wpseek mobile