On this page
apply_filters( 'login_body_class', string[] $classes, string $action )
Filters the login page body classes.
Parameters
$classesstring[]-
An array of body classes.
$actionstring-
The action that brought the visitor to the login page.
Source
File: wp-login.php. View all references
$classes = apply_filters( 'login_body_class', $classes, $action );
Related
Used By
| Used By | Description |
|---|---|
| login_header() wp-login.php | Output the login page header. |
Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/login_body_class