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:
  • 4: .

Description

Retrieves the comment type of the current comment.

Related Functions

get_comment_date, get_comment_text, get_comment_time, comment_type, get_comment_meta

Top Google Results

User discussions

wpseek mobile