WordPress at Your Fingertips
function is not described

WC_Log_Handler_File::close() protected WC 1.0

Close a handle.

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

No Hooks.

Return

true|false. success

Usage

// protected - for code of main (parent) or child class
$result = $this->close( $handle );
$handle(string) (required)
Log handle.

Code of WC_Log_Handler_File::close() WC 5.8.0

protected function close( $handle ) {
	$result = false;

	if ( $this->is_open( $handle ) ) {
		$result = fclose( $this->handles[ $handle ] ); // @codingStandardsIgnoreLine.
		unset( $this->handles[ $handle ] );
	}

	return $result;
}