woocommerce_geolocation_geoip_apis
Usage
add_filter( 'woocommerce_geolocation_geoip_apis', 'wp_kama_woocommerce_geolocation_geoip_apis_filter' ); /** * Function for `woocommerce_geolocation_geoip_apis` filter-hook. * * @param $self::$geoip_apis * * @return */ function wp_kama_woocommerce_geolocation_geoip_apis_filter( $self::$geoip_apis ){ // filter... return $self::$geoip_apis; }
- $self::$geoip_apis
- -
Where the hook is called
woocommerce_geolocation_geoip_apis
woocommerce/includes/class-wc-geolocation.php 273
$geoip_services = apply_filters( 'woocommerce_geolocation_geoip_apis', self::$geoip_apis );