jetpack_get_country_from_ip, null, $ip_address, form-response
jetpack_get_country_from_ip, null, $ip_address, form-response
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('jetpack_get_country_from_ip, null, $ip_address, form-response') is found 1 times:
- /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-feedback.php line 1164
* @param string|null $country The country code (e.g., 'US', 'GB', 'DE') or null. * @param string $ip_address The IP address to look up. * @param string $context The context for the geolocation request. */ $country = apply_filters( 'jetpack_get_country_from_ip', null, $ip_address, 'form-response' ); if ( is_string( $country ) ) { return strtoupper( $country ); } $headers = array( 'MM_COUNTRY_CODE',