woocommerce_maxmind_geolocation_database_service filter-hookWC 3.9.0

Supports overriding the database service to be used.

Usage

add_filter( 'woocommerce_maxmind_geolocation_database_service', 'wp_kama_woocommerce_maxmind_geolocation_database_service_filter' );

/**
 * Function for `woocommerce_maxmind_geolocation_database_service` filter-hook.
 * 
 * @param  $null 
 *
 * @return 
 */
function wp_kama_woocommerce_maxmind_geolocation_database_service_filter( $null ){

	// filter...
	return $null;
}
$null
-

Changelog

Since 3.9.0 Introduced.

Where the hook is called

WC_Integration_MaxMind_Geolocation::__construct()
woocommerce_maxmind_geolocation_database_service
woocommerce/includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php 41
$this->database_service = apply_filters( 'woocommerce_maxmind_geolocation_database_service', null );

Where the hook is used in WooCommerce

Usage not found.