WordPress at Your Fingertips
function is not described

WC_Geo_IP::geoip_close() public WC 1.0

Close geoip file.

{} It's a 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();

Code of WC_Geo_IP::geoip_close() WC 5.8.0

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

	return fclose( $this->filehandle );
}