A WordPress-centric search engine for devs and theme authors



allow_password_reset ›

Since2.7.0
Deprecatedn/a
apply_filters( 'allow_password_reset', $allow, $user->ID )
Parameters: (2)
  • (bool) $allow Whether to allow the password to be reset. Default true.
    Required: Yes
  • (int) $user_data->ID The ID of the user attempting to reset a password.
    Required: Yes
Defined at:
Codex:

Filters whether to allow a password to be reset.





Source

$allow = apply_filters( 'allow_password_reset', $allow, $user->ID );