WC_Log_Handler_File::is_open
Check if a handle is open.
Method of the class: WC_Log_Handler_File{}
No Hooks.
Returns
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.
WC_Log_Handler_File::is_open() WC Log Handler File::is open code WC 10.3.3
protected function is_open( $handle ) {
return array_key_exists( $handle, $this->handles ) && is_resource( $this->handles[ $handle ] );
}