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

Retrieve the comment type of the current comment.

Related Functions

get_comment_time, get_comment_date, get_comment_text, comment_type, get_comment_meta

Top Google Results

User discussions

wpseek mobile