Filters the taxonomies to generate classes for each individual term.
Default is all public taxonomies registered to the post type.
$taxonomiesstring[]
$post_idint
$classesstring[]
$css_classstring[]
$taxonomies = apply_filters( 'post_class_taxonomies', $taxonomies, $post->ID, $classes, $css_class );
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_class_taxonomies