WC_Geo_IP::geoip_close │ public │ WC 1.0

Close geoip file.

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

Хуков нет.

Возвращает

bool.

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

$WC_Geo_IP = new WC_Geo_IP();
$WC_Geo_IP->geoip_close();

Код WC_Geo_IP::geoip_close() WC 11.2.2

public function geoip_close() {
	if ( $this->flags & self::GEOIP_SHARED_MEMORY ) {
		return true;
	}

	return fclose( $this->filehandle );
}