woocommerce_get_credit_card_type_label

FILTER woocommerce\includes\wc-core-functions.php (ligne 1637) github
Fallback to title case, uppercasing the first letter of each word.

Paramètres

Entrée :
( array_key_exists( $type, $labels
Sortie :
N/A

Utilisation

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

function ma_fonction_filtre(( array_key_exists( $type) {
    // Modifier la valeur
    return ( array_key_exists( $type;
}

Actualités

Chargement des actualités...