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: - Introduced in WordPress: 6.3.0
- Deprecated in WordPress: —
Description
Checks if password reset is allowed for a specific user.