get_comment_class Wordpress function


Description:

Returns the classes for the comment div as an array


Syntax:


Arguments:

(string|array) $class One or more classes to add to the class list
(int) $comment_id An optional comment ID
(int) $post_id An optional post ID


Return Type:

(array) Array of classes


Define At:

wp-includes/comment-template.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_comment_class


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×