WordPress at a glance
filter is not described

woocommerce_geolocate_ip filter-hook . WC 1.0

Filter to allow custom geolocation of the IP address.

Usage

add_filter( 'woocommerce_geolocate_ip', 'filter_function_name_504', 10, 4 );
function filter_function_name_504( $false, $ip_address, $fallback, $api_fallback ){
	// filter...

	return $false;
}
$false
-
$ip_address
-
$fallback
-
$api_fallback
-

Where the hook is called

WC_Geolocation::geolocate_ip()
woocommerce_geolocate_ip
woocommerce/includes/class-wc-geolocation.php 140
$country_code = apply_filters( 'woocommerce_geolocate_ip', false, $ip_address, $fallback, $api_fallback );

Where in WP core the hook is used WooCommerce

Usage not found.