Filter the shipping rate taxes.
count( $taxes
Sortie :
@param array $taxes The shipping rate taxes. @param WC_Shipping_Rate $this The shipping rate object.
// Modifier la valeur avec le filtre 'woocommerce_get_shipping_tax'
add_filter('woocommerce_get_shipping_tax', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(count( $taxes) {
// Modifier la valeur
return count( $taxes;
}
Chargement des actualités...