WordPress at Your Fingertips
function is not described

WC_Log_Handler_File::is_open() protected WC 1.0

Check if a handle is open.

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

No Hooks.

Return

true|false. True if $handle is open.

Usage

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

Code of WC_Log_Handler_File::is_open() WC 5.8.0

protected function is_open( $handle ) {
	return array_key_exists( $handle, $this->handles ) && is_resource( $this->handles[ $handle ] );
}