Filters if taxes should be removed from locations outside the store base location. The woocommerce_adjust_non_base_location_prices filter can stop base taxes being taken off when dealing with out of base locations. e.g. If a product costs 10 including tax, all users will pay 10 regardless of location and taxes.
true
Sortie :
@param boolean $adjust_non_base_location_prices True by default. @return boolean
// Modifier la valeur avec le filtre 'woocommerce_adjust_non_base_location_prices'
add_filter('woocommerce_adjust_non_base_location_prices', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(true) {
// Modifier la valeur
return true;
}
Chargement des actualités...