Filters the list of CSS class names for the current post.
$classesstring[]
$css_classstring[]
$post_idint
$classes = apply_filters( 'post_class', $classes, $css_class, $post->ID );
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_class