Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

get_comment_class()

3 tags 1 category

get_comment_class() — Returns the classes for the comment div as an array.

Inputs: $css_class (string|string[]): Optional. One or more classes to add to the class list. Default empty. $comment_id (int|WP_Comment): Optional. Comment ID or WP_Comment object. Default current comment. $post (int|WP_Post): Optional. Post ID or WP_Post object. Default current post.

Returns string[]: An array of classes.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…