Filter the shipping rate label.
$this->data['label'], $this
Sortie :
@param string $label The shipping rate label. @param WC_Shipping_Rate $this The shipping rate object.
// Modifier la valeur avec le filtre 'woocommerce_shipping_rate_label'
add_filter('woocommerce_shipping_rate_label', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($this->data['label']) {
// Modifier la valeur
return $this->data['label'];
}
Chargement des actualités...