apply_filters( 'login_body_class', array $classes , string $action )
Filters the login page body classes.
Parameters Parameters
- $classes
-
(array) An array of body classes.
- $action
-
(string) The action that brought the visitor to the login page.
Source Source
File: wp-login.php
Changelog Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Example migrated from Codex:
Adds the
.my-login-class
body class to the login screen: