woocommerce_geolocation_ajax_get_location_hash

woocommerce_geolocation_ajax_get_location_hash

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_geolocation_ajax_get_location_hash') is found 1 times:

  • /includes/class-wc-cache-helper.php line 132
    		$location['country']  = $customer->get_billing_country();
    		$location['state']    = $customer->get_billing_state();
    		$location['postcode'] = $customer->get_billing_postcode();
    		$location['city']     = $customer->get_billing_city();
    		return apply_filters( 'woocommerce_geolocation_ajax_get_location_hash', substr( md5( implode( '', $location ) ), 0, 12 ), $location, $customer );
    	}
    
    	/**
    	 * Prevent caching on certain pages
    	 */
    	public static function prevent_caching() {