Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/post-template.php | apply_filters | 853 | /** * Filters the list of CSS body class names for the current post or page. * * @since 2.8.0 * * @param string[] $classes An array of body class names. * @param string[] $class An array of additional class names added to the body. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string[] | $classes | An array of body class names. |
string[] | $class | An array of additional class names added to the body. |