login_body_class WordPress Filter Hook
The login_body_class hook is used to add classes to the body element on the login page. This can be used to customize the login page to match the rest of your site.
apply_filters( 'login_body_class', string[] $classes , string $action ) #
Filters the login page body classes.
Parameters
- $classes
(string[])An array of body classes.
- $action
(string)The action that brought the visitor to the login page.
Source
File: wp-login.php
Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |