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