apply_filters( 'body_class', string[] $classes , string[] $css_class )
Filters the list of CSS body class names for the current post or page.
Parameters
- $classes
-
An array of body class names.
- $css_class
-
An array of additional class names added to the body.
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |