Added back the WC_Geolocation's get_local_database_path method since it was publicly used

This commit is contained in:
Christopher Allford 2020-01-09 00:56:22 -08:00
parent 3e597e6f68
commit 98119047bf
1 changed files with 10 additions and 0 deletions

View File

@ -230,6 +230,16 @@ class WC_Geolocation {
); );
} }
/**
* Path to our local db.
*
* @param string $deprecated Deprecated since 3.4.0.
* @return string
*/
public static function get_local_database_path( $deprecated = '2' ) {
return WC_MaxMind_Geolocation_Database::get_database_path();
}
/** /**
* Update geoip database. * Update geoip database.
* *