WordPress at Your Fingertips
filter is not described

woocommerce_geolocation_local_database_path filter-hook . WC 1.0

Deprecated from version 3.9.0. It is no longer supported and can be removed in future releases. It is recommended to replace this hook with the same one.

Deprecated: 3.9.0

Filter the geolocation database storage path.

Usage

add_filter( 'woocommerce_geolocation_local_database_path', 'filter_function_name_833', 10, 3 );
function filter_function_name_833( $database_path, $version, $string ){
	// filter...

	return $database_path;
}
$database_path(string)
The path to the database.
$version(int)
Deprecated since 3.4.0.
$string
-

Changelog

Deprecated 3.9.0

Where the hook is called

WC_Integration_MaxMind_Database_Service::get_database_path()
woocommerce_geolocation_local_database_path
woocommerce/includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-database-service.php 65-70
$database_path = apply_filters_deprecated(
	'woocommerce_geolocation_local_database_path',
	array( $database_path, 2 ),
	'3.9.0',
	'woocommerce_maxmind_geolocation_database_path'
);

Where in WP core the hook is used WooCommerce

Usage not found.