WC_Geolocation::update_database()public staticWC 1.0

Deprecated from version 3.9.0 Extract files with PharData. Tool built into PHP since 5.3.. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Update geoip database.

Method of the class: WC_Geolocation{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Geolocation::update_database();

Changelog

Deprecated since 3.9.0
Extract files with PharData. Tool built into PHP Since 5.3 .

WC_Geolocation::update_database() code WC 8.9.0

public static function update_database() {
	wc_deprecated_function( 'WC_Geolocation::update_database', '3.9.0' );
	$integration = wc()->integrations->get_integration( 'maxmind_geolocation' );
	$integration->update_database();
}