WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about get_comment_type

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/comment-template.php apply_filters 1101 /**
* Filters the returned comment type.
*
* @since 1.5.0
* @since 4.1.0 The `$comment_ID` and `$comment` parameters were added.
*
* @param string $comment_type The type of comment, such as 'comment', 'pingback', or 'trackback'.
* @param string $comment_ID The comment ID as a numeric string.
* @param WP_Comment $comment The comment object.
*/

Hook Parameters

Parameter Type Name Description
string $comment_type The type of comment, such as 'comment', 'pingback', or 'trackback'.
string $comment_ID The comment ID as a numeric string.
WP_Comment $comment The comment object.