W3cubDocs

/WordPress

apply_filters( 'login_body_class', array $classes, string $action )

Filters the login page body classes.

Parameters

$classes

(array) An array of body classes.

$action

(string) The action that brought the visitor to the login page.

Source

File: wp-login.php

View on Trac

Changelog

Version Description
3.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/login_body_class