wpinv_get_ip

Filters the IP address of the current visitor. apply_filters( ‘wpinv_get_ip’, string $ip ); Parameters # Returns # $ip (string) Current visitor’s IP address. Examples # Set the current visitor’s IP address from United Kingdom IP address range. It will identify that the current visitor is from United Kingdom. function _wpi_wpinv_get_ip( $ip ) { /* * […]