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

VersionDescription
3.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.