WordPress at a glance
filter is not described

allow_password_reset filter-hook . WP 2.7.0

Filters whether to allow a password to be reset.

Usage

add_filter( 'allow_password_reset', 'filter_function_name_3080', 10, 2 );
function filter_function_name_3080( $allow, $ID ){
	// filter...

	return $allow;
}
$allow(true/false)
Whether to allow the password to be reset.
Default: true
$ID(int)
The ID of the user attempting to reset a password.

Changelog

Since 2.7.0 Introduced.

Where the hook is called

get_password_reset_key()
allow_password_reset
WC_Shortcode_My_Account::retrieve_password()
allow_password_reset
wp-includes/user.php 2255
$allow = apply_filters( 'allow_password_reset', $allow, $user->ID );
woocommerce/includes/shortcodes/class-wc-shortcode-my-account.php 321
$allow = apply_filters( 'allow_password_reset', true, $user_data->ID );

Where the hook is used (in WP core)

Usage not found!