Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

WC_Geo_IP::_get_record( int $ipnum )

Get record.


Description Description


Parameters Parameters

$ipnum

(Required)


Top ↑

Return Return

(WC_Geo_IP_Record) instance


Top ↑

Source Source

File: includes/class-wc-geo-ip.php

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


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.