Filters whether to allow a password to be reset.
$allowbool
$user_idint
return apply_filters( 'allow_password_reset', $allow, $user->ID );
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/allow_password_reset