Controls the location hash used in geolocation-based caching.
$location_hash, $location, $customer
Sortie :
@param string $location_hash The hash used for geolocation. @param array $location The location/address data. @param WC_Customer $customer The current customer object.
// Modifier la valeur avec le filtre 'woocommerce_geolocation_ajax_get_location_hash'
add_filter('woocommerce_geolocation_ajax_get_location_hash', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($location_hash) {
// Modifier la valeur
return $location_hash;
}
Chargement des actualités...