WC_Geo_IP::geoip_country_code_by_addr_v6()
Country code by addr IPv6.
Method of the class: WC_Geo_IP{}
No Hooks.
Return
String
.
Usage
$WC_Geo_IP = new WC_Geo_IP(); $WC_Geo_IP->geoip_country_code_by_addr_v6( $addr );
- $addr(string) (required)
- -
WC_Geo_IP::geoip_country_code_by_addr_v6() WC Geo IP::geoip country code by addr v6 code WC 9.7.1
public function geoip_country_code_by_addr_v6( $addr ) { $country_id = $this->geoip_country_id_by_addr_v6( $addr ); if ( false !== $country_id && isset( $this->GEOIP_COUNTRY_CODES[ $country_id ] ) ) { return $this->GEOIP_COUNTRY_CODES[ $country_id ]; } return false; }