woocommerce_geolocation_ajax_get_location_hash filter-hookWC 1.0

Usage

add_filter( 'woocommerce_geolocation_ajax_get_location_hash', 'wp_kama_woocommerce_geolocation_ajax_get_location_hash_filter', 10, 3 );

/**
 * Function for `woocommerce_geolocation_ajax_get_location_hash` filter-hook.
 * 
 * @param  $substr   
 * @param  $location 
 * @param  $customer 
 *
 * @return 
 */
function wp_kama_woocommerce_geolocation_ajax_get_location_hash_filter( $substr, $location, $customer ){

	// filter...
	return $substr;
}
$substr
-
$location
-
$customer
-

Where the hook is called

WC_Cache_Helper::geolocation_ajax_get_location_hash()
woocommerce_geolocation_ajax_get_location_hash
woocommerce/includes/class-wc-cache-helper.php 132
return apply_filters( 'woocommerce_geolocation_ajax_get_location_hash', substr( md5( implode( '', $location ) ), 0, 12 ), $location, $customer );

Where the hook is used in WooCommerce

Usage not found.