wordpress / latest / hooks / login_body_class.html

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. View all references

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

Used By

Used By Description

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