wpseek.com
A WordPress-centric search engine for devs and theme authors



allow_password_reset › WordPress Filter Hooks

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_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

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