Get totals for display on pages and in emails.
$total_rows, $this, $tax_display
Sortie :
@param mixed $tax_display Excl or incl tax display mode. @return array
// Modifier la valeur avec le filtre 'woocommerce_get_order_item_totals'
add_filter('woocommerce_get_order_item_totals', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($total_rows) {
// Modifier la valeur
return $total_rows;
}
Chargement des actualités...