resetpass_form
Fires following the 'Strength indicator' meter in the user password reset form.
Usage
add_action( 'resetpass_form', 'wp_kama_resetpass_form_action' );
/**
* Function for `resetpass_form` action-hook.
*
* @param WP_User $user User object of the user whose password is being reset.
*
* @return void
*/
function wp_kama_resetpass_form_action( $user ){
// action...
}
- $user(WP_User)
- User object of the user whose password is being reset.
Changelog
| Since 3.9.0 | Introduced. |
Where the hook is called
In file: /wp-login.php
resetpass_form
wp-login.php 1071
do_action( 'resetpass_form', $user );