wpseek.com
A WordPress-centric search engine for devs and theme authors



login_body_class › WordPress Filter Hooks

Since3.5.0
Deprecatedn/a
apply_filters( 'login_body_class', $classes, $action )
Parameters: (2)
  • (string[]) $classes An array of body classes.
    Required: Yes
  • (string) $action The action that brought the visitor to the login page.
    Required: Yes
Defined at:
Codex:

Filters the login page body classes.





Source

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