Get the min or max variation regular price.
$price, $this, $min_or_max, $for_display
Sortie :
@param string $min_or_max Min or max price. @param boolean $for_display If true, prices will be adapted for display based on the `woocommerce_tax_display_shop` setting (including or excluding taxes). @return string
// Modifier la valeur avec le filtre 'woocommerce_get_variation_regular_price'
add_filter('woocommerce_get_variation_regular_price', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($price) {
// Modifier la valeur
return $price;
}
Chargement des actualités...