woocommerce_geolocation_ip_lookup_apis, self::$ip_lookup_apis
woocommerce_geolocation_ip_lookup_apis, self::$ip_lookup_apis
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_geolocation_ip_lookup_apis, self::$ip_lookup_apis') is found 1 times:
- /includes/class-wc-geolocation.php line 118
} if ( false === $external_ip_address ) { $external_ip_address = '0.0.0.0'; $ip_lookup_services = apply_filters( 'woocommerce_geolocation_ip_lookup_apis', self::$ip_lookup_apis ); $ip_lookup_services_keys = array_keys( $ip_lookup_services ); shuffle( $ip_lookup_services_keys ); foreach ( $ip_lookup_services_keys as $service_name ) { $service_endpoint = $ip_lookup_services[ $service_name ]; $response = wp_safe_remote_get(