Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/class-wc-geolocation.php

WC_Geolocation::init()

Method: Hook in geolocation functionality.

Source: includes/class-wc-geolocation.php:317

Used by 0 functions | Uses 1 function

WC_Geolocation::disable_geolocation_on_legacy_php()

Method: Prevent geolocation via MaxMind when using legacy versions of php.

Source: includes/class-wc-geolocation.php:330

Used by 0 functions | Uses 2 functions

WC_Geolocation::maybe_update_database()

Method: Maybe trigger a DB update for the first time.

Source: includes/class-wc-geolocation.php:348

Used by 0 functions | Uses 3 functions

woocommerce_get_geolocation

Filter Hook: Get geolocation filter.

Source: includes/class-wc-geolocation.php:164

Used by 1 function | Uses 0 functions

WC_Geolocation::get_local_database_path()

Method: Path to our local db.

Source: includes/class-wc-geolocation.php:206

Used by 0 functions | Uses 2 functions

WC_Geolocation::update_database()

Method: Update geoip database.

Source: includes/class-wc-geolocation.php:218

Used by 1 function | Uses 2 functions

WC_Geolocation::get_country_code_from_headers()

Method: Fetches the country code from the request headers, if one is available.

Source: includes/class-wc-geolocation.php:230

Used by 1 function | Uses 0 functions

WC_Geolocation::geolocate_via_api()

Method: Use APIs to Geolocate the user.

Source: includes/class-wc-geolocation.php:264

Used by 1 function | Uses 0 functions

WC_Geolocation::get_external_ip_address()

Method: Get user IP Address using an external service.

Source: includes/class-wc-geolocation.php:100

Used by 1 function | Uses 3 functions

woocommerce_geolocation_ip_lookup_apis

Filter Hook: Geolocation class

Source: includes/class-wc-geolocation.php:110

Used by 1 function | Uses 0 functions
1 2 Next »
Proudly powered by WordPress