apply_filters( 'allow_password_reset', bool $allow, int $user_data->ID )

Filters whether to allow a password to be reset.


Parameters

$allow

Whether to allow the password to be reset. Default true.

$user_data->ID

The ID of the user attempting to reset a password.


Source

File: wp-includes/user.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.7.0 Introduced.