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



enable_login_autofocus › WordPress Filter Hooks

Since4.8.0
Deprecatedn/a
apply_filters( 'enable_login_autofocus', true )
Parameters:
  • (bool) $print Whether to print the function call. Default true.
    Required: Yes
Defined at:
Codex:

Filters whether to print the call to `wp_attempt_focus()` on the login screen.





Source

if ( apply_filters( 'enable_login_autofocus', true ) && ! $error ) {