WC_Geo_IP::_get_record
Get record.
Method of the class: WC_Geo_IP{}
No Hooks.
Returns
WC_Geo_IP_Record. instance
Usage
// private - for code of main (parent) class only $result = $this->_get_record( $ipnum );
- $ipnum(int) (required)
- .
WC_Geo_IP::_get_record() WC Geo IP:: get record code WC 10.6.2
private function _get_record( $ipnum ) {
$seek_country = $this->_geoip_seek_country( $ipnum );
if ( $seek_country == $this->databaseSegments ) {
return null;
}
return $this->_common_get_record( $seek_country );
}