apply_filters( 'allow_password_reset', bool $allow, int $ID )
Filters whether to allow a password to be reset.
Parameters
- $allow
-
(bool) Whether to allow the password to be reset. Default true.
- $ID
-
(int) The ID of the user attempting to reset a password.
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/allow_password_reset