resetpass_form WordPress Action Hook
The resetpass_form hook is used to modify the password reset form in WordPress. This hook can be used to add extra fields to the form or to remove fields that are not needed.
do_action( 'resetpass_form', WP_User $user ) #
Fires following the ‘Strength indicator’ meter in the user password reset form.
Contents
Parameters
- $user
(WP_User)User object of the user whose password is being reset.
Source
File: wp-login.php
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |