apply_filters( 'allow_password_reset', bool $allow , int $user_data->ID )
Filters whether to allow a password to be reset.
Description Description
Parameters Parameters
- $allow
-
(bool) Whether to allow the password to be reset. Default true.
- $user_data->ID
-
(int) The ID of the user attempting to reset a password.
Source Source
File: wp-includes/user.php
Changelog Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Source file is now wp-includes/user.php.