woocommerce_geolocation_ip_lookup_api_response filter-hookWC 1.0

Usage

add_filter( 'woocommerce_geolocation_ip_lookup_api_response', 'wp_kama_woocommerce_geolocation_ip_lookup_api_response_filter', 10, 2 );

/**
 * Function for `woocommerce_geolocation_ip_lookup_api_response` filter-hook.
 * 
 * @param  $wc_clean     
 * @param  $service_name 
 *
 * @return 
 */
function wp_kama_woocommerce_geolocation_ip_lookup_api_response_filter( $wc_clean, $service_name ){

	// filter...
	return $wc_clean;
}
$wc_clean
-
$service_name
-

Where the hook is called

WC_Geolocation::get_external_ip_address()
woocommerce_geolocation_ip_lookup_api_response
woocommerce/includes/class-wc-geolocation.php 125
$external_ip_address = apply_filters( 'woocommerce_geolocation_ip_lookup_api_response', wc_clean( $response['body'] ), $service_name );

Where the hook is used in WooCommerce

Usage not found.