do_action( 'after_password_reset', WP_User $user, string $new_pass )
- Since
- 4.4.0
Fires after the user's password is reset.
Parameters
$userWP_User- The user.
$new_passstring- New user password.
Fired at · 1
wp-includes/user.php:3518reset_password()
Source
View on Trac ↗View on GitHub ↗
3512 *3513 * @since 4.4.03514 *3515 * @param WP_User $user The user.3516 * @param string $new_pass New user password.3517 */3518 do_action( 'after_password_reset', $user, $new_pass );3519}3520 3521/**3522 * Handles registering a new user.3523 *3524 * @since 2.5.0
History
Introduced in 4.4.0. Unchanged from 6.7.7 through 7.1.0.
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.0.4 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.