WordPress at Your Fingertips
function is not described

WC_Geolocation::get_local_database_path() public 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 function with the same one.

Path to our local db.

{} It's a method of the class: WC_Geolocation{}

No Hooks.

Return

String.

Usage

$result = WC_Geolocation::get_local_database_path( $deprecated );
$deprecated(string)
Deprecated since 3.4.0.
Default: '2'

Changelog

Deprecated 3.9.0

Code of WC_Geolocation::get_local_database_path() WC 5.9.0

public static function get_local_database_path( $deprecated = '2' ) {
	wc_deprecated_function( 'WC_Geolocation::get_local_database_path', '3.9.0' );
	$integration = wc()->integrations->get_integration( 'maxmind_geolocation' );
	return $integration->get_database_service()->get_database_path();
}