Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/user.php | apply_filters | 2884 | /** * Filters whether to allow a password to be reset. * * @since 2.7.0 * * @param bool $allow Whether to allow the password to be reset. Default true. * @param int $user_id The ID of the user attempting to reset a password. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $allow | Whether to allow the password to be reset. Default true. |
int | $user_id | The ID of the user attempting to reset a password. |