woocommerce_geolocation_geoip_response_

woocommerce_geolocation_geoip_response_

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_geolocation_geoip_response_') is found 1 times:

  • /includes/class-wc-geolocation.php line 313
    							$data         = json_decode( $response['body'] );
    							$country_code = isset( $data->countryCode ) ? $data->countryCode : ''; // @codingStandardsIgnoreLine
    							break;
    						default:
    							$country_code = apply_filters( 'woocommerce_geolocation_geoip_response_' . $service_name, '', $response['body'] );
    							break;
    					}
    
    					$country_code = sanitize_text_field( strtoupper( $country_code ) );
    
    					if ( $country_code ) {