WC_Log_Handler_File::is_open( string $handle )
Check if a handle is open.
Description Description
Parameters Parameters
- $handle
-
(Required) Log handle.
Return Return
(bool) True if $handle is open.
Source Source
File: includes/log-handlers/class-wc-log-handler-file.php
protected function is_open( $handle ) { return array_key_exists( $handle, $this->handles ) && is_resource( $this->handles[ $handle ] ); }