WC_Geo_IP::_get_record
Get record.
Метод класса: WC_Geo_IP{}
Хуков нет.
Возвращает
WC_Geo_IP_Record. instance
Использование
// private - только в коде основоного (родительского) класса $result = $this->_get_record( $ipnum );
- $ipnum(int) (обязательный)
- .
Код WC_Geo_IP::_get_record() WC Geo IP:: get record WC 11.2.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 );
}