woocommerce_geolocation_ip_lookup_api_response

woocommerce_geolocation_ip_lookup_api_response

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_geolocation_ip_lookup_api_response') is found 1 times:

  • /includes/class-wc-geolocation.php line 125
    					)
    				);
    
    				if ( ! is_wp_error( $response ) && rest_is_ip_address( $response['body'] ) ) {
    					$external_ip_address = apply_filters( 'woocommerce_geolocation_ip_lookup_api_response', wc_clean( $response['body'] ), $service_name );
    					break;
    				}
    			}
    
    			set_transient( $transient_name, $external_ip_address, DAY_IN_SECONDS );
    		}