WordPress at Your Fingertips
filter is not described

enable_login_autofocus filter-hook . WP 4.8.0

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


add_filter( 'enable_login_autofocus', 'filter_function_name_9277' );
function filter_function_name_9277( $print ){
	// filter...

	return $print;
Whether to print the function call.
Default: true


Since 4.8.0 Introduced.

Where the hook is called

In file: /wp-login.php
wp-login.php 1415
if ( apply_filters( 'enable_login_autofocus', true ) && ! $error ) {

Where in WP core the hook is used WordPress

Usage not found.