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.


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;
The path to the database.
Deprecated since 3.4.0.


Deprecated 3.9.0

Where the hook is called

woocommerce/includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-database-service.php 65-70
$database_path = apply_filters_deprecated(
	array( $database_path, 2 ),

Where in WP core the hook is used WooCommerce

Usage not found.