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