WC_Geo_IP::geoip_close()publicWC 1.0

Close geoip file.

Method of the class: WC_Geo_IP{}

No Hooks.

Return

true|false.

Usage

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

WC_Geo_IP::geoip_close() code WC 8.6.1

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

	return fclose( $this->filehandle );
}