WC_Geo_IP::_get_record()privateWC 1.0

Get record.

Метод класса: WC_Geo_IP{}

Хуков нет.

Возвращает

WC_Geo_IP_Record. instance

Использование

// private - только в коде основоного (родительского) класса
$result = $this->_get_record( $ipnum );
$ipnum(int) (обязательный)
-

Код WC_Geo_IP::_get_record() WC 8.7.0

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 );
}