allow_password_reset

Advertisement

Summery Summery

Filters whether to allow a password to be reset.

Syntax Syntax

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

Parameters Parameters

$allow

(bool) Whether to allow the password to be reset. Default true.

$user_data->ID

(int) The ID of the user attempting to reset a password.

Source Source

File: wp-includes/user.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.