woocommerce_cart_taxes_total

FILTER woocommerce\includes\class-wc-cart.php (ligne 2252) github
Get tax row amounts with or without compound taxes includes.

Paramètres

Entrée :
$total, $compound, $display, $this
Sortie :
@param  bool $compound True if getting compound taxes.
@param  bool $display  True if getting total to display.
@return float price

Utilisation

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

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

Actualités

Chargement des actualités...