5235*5236* @since 2.7.05237*5238* @param bool$allow Whether to allow the password to be reset.Defaulttrue.5239* @param int$user_id The ID of the user attempting to reset a password.5240*/5241returnapply_filters('allow_password_reset',$allow,$user->ID);5242}5243
History
Introduced in 2.7.0. Unchanged from 6.7.7 through 7.1.0.