wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_set_password › WordPress Action Hooks

Since6.7.0
Deprecatedn/a
do_action( 'wp_set_password', $password, $user_id, $old_user_data )
Parameters: (3)
  • (string) $password The plaintext password just set.
    Required: Yes
  • (int) $user_id The ID of the user whose password was just set.
    Required: Yes
  • (WP_User) $old_user_data Object containing user's data prior to update.
    Required: Yes
Defined at:
Codex:

Fires after the user password is set.





Source

do_action( 'wp_set_password', $password, $user_id, $old_user_data );