login_form_defaults
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-includes/general-template.php 557
$args = wp_parse_args( $args, apply_filters( 'login_form_defaults', $defaults ) );