get_comment_type

get_comment_type

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('get_comment_type') is found 1 times:

  • /wp-includes/comment-template.php line 1179
    	 * @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.
    	 */
    	return apply_filters( 'get_comment_type', $comment->comment_type, $comment->comment_ID, $comment );
    }
    
    /**
     * Displays the comment type of the current comment.
     *
     * @since 0.71