comment_class

comment_class

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('comment_class') is found 1 times:

  • /wp-includes/comment-template.php line 599
    	 * @param string      $comment_id The comment ID as a numeric string.
    	 * @param WP_Comment  $comment    The comment object.
    	 * @param int|WP_Post $post       The post ID or WP_Post object.
    	 */
    	return apply_filters( 'comment_class', $classes, $css_class, $comment->comment_ID, $comment, $post );
    }
    
    /**
     * Retrieves the comment date of the current comment.
     *
     * @since 1.5.0