woocommerce_geolocation_ip_lookup_apis
Usage
add_filter( 'woocommerce_geolocation_ip_lookup_apis', 'wp_kama_woocommerce_geolocation_ip_lookup_apis_filter' ); /** * Function for `woocommerce_geolocation_ip_lookup_apis` filter-hook. * * @param $self::$ip_lookup_apis * * @return */ function wp_kama_woocommerce_geolocation_ip_lookup_apis_filter( $self::$ip_lookup_apis ){ // filter... return $self::$ip_lookup_apis; }
- $self::$ip_lookup_apis
- -
Where the hook is called
woocommerce_geolocation_ip_lookup_apis
woocommerce/includes/class-wc-geolocation.php 110
$ip_lookup_services = apply_filters( 'woocommerce_geolocation_ip_lookup_apis', self::$ip_lookup_apis );