WC_Geolocation::update_database
Deprecated since 3.9.0
Extract files with PharData. Tool built into PHP since 5.3.. It is no longer supported and may 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.
Returns
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() WC Geolocation::update database code WC 10.6.2
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();
}