Used By
Used By | Description |
---|---|
wp-includes/post-template.php: get_post_class() | Retrieves an array of the class names for the post container element. |
Filters the list of CSS class names for the current post.
(string[]) An array of post class names.
(string[]) An array of additional class names added to the post.
(int) The post ID.
Version | Description |
---|---|
2.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_class