get_comment_type
get_comment_type ( $comment_id = 0 )
Parameters:- (int|WP_Comment) comment_id Optional. WP_Comment or ID of the comment for which to get the type. Default current comment.
Returns:- (string) The comment type.
Defined at:Change Log: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Retrieves the comment type of the current comment.