Filters the returned comment type.
$comment_typestring
'comment', 'pingback', or 'trackback'.$comment_idstring
$commentWP_Comment
return apply_filters( 'get_comment_type', $comment->comment_type, $comment->comment_ID, $comment );
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_comment_type