get_comment_type

get_comment_type

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('get_comment_type') is found 1 times:

  • /wp-includes/comment-template.php line 1179
    1175
    1176
    1177
    1178
    1179
    1180
    1181
    1182
    1183
    1184
    1185
         * @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