5275*5276* @since 2.7.05277*5278* @param bool$allow Whether to allow the password to be reset.Defaulttrue.5279* @param int$user_id The ID of the user attempting to reset a password.5280*/5281returnapply_filters('allow_password_reset',$allow,$user->ID);5282}5283
History
Introduced in 2.7.0. Unchanged from 6.7.7 through 7.1.0.