WC_Geo_IP::geoip_country_code_by_addr_v6( string $addr )
Country code by addr IPv6.
Description Description
Parameters Parameters
- $addr
-
(Required)
Return Return
(string)
Source Source
File: includes/class-wc-geo-ip.php
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; }