WordPress at Your Fingertips
function is not described

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

Hook in geolocation functionality.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Geolocation::init();

Changelog

Deprecated 3.9.0

Code of WC_Geolocation::init() WC 5.9.0

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