login_form_defaults filter-hookWP 3.0.0

Filters the default login form output arguments.

Usage

add_filter( 'login_form_defaults', 'wp_kama_login_form_defaults_filter' );

/**
 * Function for `login_form_defaults` filter-hook.
 * 
 * @param array $defaults An array of default login form arguments.
 *
 * @return array
 */
function wp_kama_login_form_defaults_filter( $defaults ){

	// filter...
	return $defaults;
}
$defaults(array)
An array of default login form arguments.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

wp_login_form()
login_form_defaults
wp-includes/general-template.php 540
$args = wp_parse_args( $args, apply_filters( 'login_form_defaults', $defaults ) );

Where the hook is used in WordPress

Usage not found.