WordPress at a glance
filter is not described

woocommerce_get_geolocation filter-hook . WC 3.9.0

Get geolocation filter.

Usage

add_filter( 'woocommerce_get_geolocation', 'filter_function_name_3261', 10, 2 );
function filter_function_name_3261( $geolocation, $ip_address ){
	// filter...

	return $geolocation;
}
$geolocation(array)
Geolocation data, including country, state, city, and postcode.
$ip_address(string)
IP Address.

Changelog

Since 3.9.0 Introduced.

Where the hook is called

WC_Geolocation::geolocate_ip()
woocommerce_get_geolocation
woocommerce/includes/class-wc-geolocation.php 164-173
$geolocation  = apply_filters(
	'woocommerce_get_geolocation',
	array(
		'country'  => $country_code,
		'state'    => '',
		'city'     => '',
		'postcode' => '',
	),
	$ip_address
);

Where in WP core the hook is used WooCommerce

woocommerce/includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php 83
add_filter( 'woocommerce_get_geolocation', array( $this, 'get_geolocation' ), 10, 2 );