Filters the returned CSS classes for the current comment.
$classesstring[]
$css_classstring[]
$comment_idstring
$commentWP_Comment
$postint|WP_Post
return apply_filters( 'comment_class', $classes, $css_class, $comment->comment_ID, $comment, $post );
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_class