wp_is_password_reset_allowed_for_user


wp_is_password_reset_allowed_for_user ( $user )

Parameters:
  • (int|WP_User) user The user to check.
Returns:
  • (bool|WP_Error) True if allowed, false or WP_Error otherwise.
Defined at:

Description

Checks if password reset is allowed for a specific user.

Related Functions

wp_is_application_passwords_available_for_user, wp_ajax_send_password_reset, get_password_reset_key, check_password_reset_key, wp_switch_roles_and_user

Top Google Results

User discussions

wpseek mobile