Filters the returned comment type.
Parameters
$comment_type
string- The type of comment, such as
'comment'
,'pingback'
, or'trackback'
. $comment_id
string- The comment ID as a numeric string.
$comment
WP_Comment- The comment object.
Source
return apply_filters( 'get_comment_type', $comment->comment_type, $comment->comment_ID, $comment );
User Contributed Notes
You must log in before being able to contribute a note or feedback.