wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



allow_password_reset › Les Filtres WordPress

Depuis2.7.0
Dépréciéen/a
› apply_filters( 'allow_password_reset', $allow, $user->ID )
Paramètres: (2)
  • () allow Whether to allow the password to be reset, or a WP_Error to explain why it is not allowed. Default true.
    Requis: Oui
  • () user_id The ID of the user attempting to reset a password.
    Requis: Oui
Défini(e) dans:
Codex:

Filters whether to allow a password to be reset.





Source

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