get_comment_text


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

Parameters:
  • (int|WP_Comment) comment_id Optional. 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 array.
See:
  • Walker_Comment::comment()
Returns:
  • (string) The comment content.
Defined at:
Change Log:
  • 4: .
  • 5: .

Description

Retrieves the text of the current comment.

Related Functions

get_comment_meta, get_comment_type, get_comment_time, get_comment_date, get_comment_to_edit

Top Google Results

User discussions

wpseek mobile