5143*5144* @since 2.7.05145*5146* @param bool$allow Whether to allow the password to be reset.Defaulttrue.5147* @param int$user_id The ID of the user attempting to reset a password.5148*/5149returnapply_filters('allow_password_reset',$allow,$user->ID);5150}5151
History
Introduced in 2.7.0. Unchanged from 6.7.7 through 7.1.0.