WordPress at Your Fingertips
function is not described

WC_Geo_IP::_get_record() private WC 1.0

Get record.

{} It's a method of the class: WC_Geo_IP{}

No Hooks.

Return

WC_Geo_IP_Record. instance

Usage

// private - for code of main (parent) class only
$result = $this->_get_record( $ipnum );
$ipnum(int) (required)
-

Code of WC_Geo_IP::_get_record() WC 5.8.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 );
}