wphooks.info - enable_login_autofocus

enable_login_autofocus

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

/wp-login.php:
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
	}

		<?php
		/**
		 * Filters whether to print the call to `wp_attempt_focus()` on the login screen.
		 *
		 * @since 4.8.0
		 *
		 * @param bool $print Whether to print the function call. Default true.
		 */
		if ( apply_filters( 'enable_login_autofocus', true ) && ! $error ) {
			?>
	wp_attempt_focus();
		<?php } ?>
	if(typeof wpOnload=='function')wpOnload();
		<?php if ( $interim_login ) { ?>
	(function(){
	try {
		var i, links = document.getElementsByTagName('a');
		for ( i in links ) {