WC_Geolocation::init()public staticWC 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.

Hook in geolocation functionality.

Method of the class: WC_Geolocation{}

No Hooks.


null. Nothing (null).


$result = WC_Geolocation::init();


Deprecated since 3.9.0

WC_Geolocation::init() code WC 8.7.0

public static function init() {
	wc_deprecated_function( 'WC_Geolocation::init', '3.9.0' );
	return null;