wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



allow_password_reset › WordPress Filter Hooks

Da2.7.0
Deprecaton/a
› apply_filters( 'allow_password_reset', $allow, $user->ID )
Parametri: (2)
  • () allow Whether to allow the password to be reset, or a WP_Error to explain why it is not allowed. Default true.
    Richiesto: Sì
  • () user_id The ID of the user attempting to reset a password.
    Richiesto: Sì
Definito a:
Codex:

Filters whether to allow a password to be reset.





Sorgenti

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