woocommerce_checkout_update_customer_data

FILTER woocommerce\includes\class-wc-checkout.php (ligne 1205) github
Filter the notice shown when a customer tries to register with an existing email address.

Paramètres

Entrée :
true, $this
Sortie :
@param string $message The notice.
@param string $email   The email address.

Utilisation

// Modifier la valeur avec le filtre 'woocommerce_checkout_update_customer_data'
add_filter('woocommerce_checkout_update_customer_data', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre(true) {
    // Modifier la valeur
    return true;
}

Actualités

Chargement des actualités...