resetpass_form

ACTION wp-login.php (ligne 1072) github
Fires following the 'Strength indicator' meter in the user password reset form.

Paramètres

Entrée :
$user
Sortie :
@param WP_User $user User object of the user whose password is being reset.

Utilisation

// Ajouter une fonction au hook action 'resetpass_form'
add_action('resetpass_form', 'ma_fonction_personnalisee', 10, 1);

function ma_fonction_personnalisee($user) {
    // Votre code ici
    error_log('Hook resetpass_form déclenché');
}

Actualités

Chargement des actualités...