do_action( 'password_reset', WP_User $user, string $new_pass )

Fires before the user’s password is reset.

Parameters Parameters


(WP_User) The user.


(string) New user password.

Top ↑

More Information More Information

Runs after the user submits a new password during password reset but before the new password is actually set.

Top ↑

Source Source

File: wp-includes/user.php

View on Trac

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.