Warning: This method has been deprecated.

WC_Geolocation::get_local_database_path( string $deprecated = '2' )

Path to our local db.


Description Description


Parameters Parameters

$deprecated

(Optional) Deprecated since 3.4.0.

Default value: '2'


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/class-wc-geolocation.php

	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();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.9.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.