W3cubDocs

/WordPress

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

$classes = apply_filters( 'login_body_class', $classes, $action );

Changelog

Version Description
3.5.0 Introduced.

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