wp_set_password
wp_set_password
Appears in: wordpress-6.2, wordpress-6.2.1, wordpress-6.2.2, wordpress-6.3, wordpress-6.3.1, wordpress-6.3.2, wordpress-6.4, wordpress-6.4.1, wordpress-6.4.2, wordpress-6.4.3, wordpress-6.5, wordpress-6.5.2, wordpress-6.5.3, wordpress-6.5.4, wordpress-6.5.5, wordpress-6.6, wordpress-6.6.1, wordpress-6.6.2, wordpress-6.7, wordpress-6.7.1, wordpress-6.7.2, wordpress-6.8, wordpress-6.8.1, wordpress-6.8.2, wordpress-6.8.3, wordpress-6.9
Hook Type: action
Displaying hooks found in version: wordpress-6.9do_action('wp_set_password') is found 3 times:
- /wp-includes/pluggable.php line 3130
* @param string $password The plaintext password just set. * @param int $user_id The ID of the user whose password was just set. * @param WP_User $old_user_data Object containing user's data prior to update. */ do_action( 'wp_set_password', $password, $user_id, $old_user_data ); } endif; if ( ! function_exists( 'get_avatar' ) ) : /** * Retrieves the avatar `<img>` tag for a user, email address, MD5 hash, comment, or post.
- /wp-includes/user.php line 2525
$user = new WP_User( $user_id ); if ( ! $update ) { /** This action is documented in wp-includes/pluggable.php */ do_action( 'wp_set_password', $userdata['user_pass'], $user_id, $user ); } /** * Filters a user's meta values and keys immediately after the user is created or updated * and before any user meta is inserted or updated. * - /wp-includes/user.php line 2712
$plaintext_pass = $userdata['user_pass']; $userdata['user_pass'] = wp_hash_password( $userdata['user_pass'] ); /** This action is documented in wp-includes/pluggable.php */ do_action( 'wp_set_password', $plaintext_pass, $user_id, $user_obj ); /** * Filters whether to send the password change email. * * @since 4.3.0 *