apply_filters( 'post_class', array $classes , array $class , int $post_id )
Filters the list of CSS classes for the current post.
Parameters
- $classes
-
An array of post classes.
- $class
-
An array of additional classes added to the post.
- $post_id
-
The post ID.
Source
Changelog
Version | Description |
---|---|
WP-2.7.0 | Introduced. |