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: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Retrieves the text of the current comment.