WC_AJAX::get_customer_location()

Locate user via AJAX.


Description Description


Source Source

File: includes/class-wc-ajax.php

	public static function get_customer_location() {
		$location_hash = WC_Cache_Helper::geolocation_ajax_get_location_hash();
		wp_send_json_success( array( 'hash' => $location_hash ) );
	}


Top ↑

User Contributed Notes User Contributed Notes

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