WC_Log_Handler_File::close( string $handle )
Close a handle.
Description Description
Parameters Parameters
- $handle
-
(Required) Log handle.
Return Return
(bool) success
Source Source
File: includes/log-handlers/class-wc-log-handler-file.php
protected function close( $handle ) { $result = false; if ( $this->is_open( $handle ) ) { $result = fclose( $this->handles[ $handle ] ); // @codingStandardsIgnoreLine. unset( $this->handles[ $handle ] ); } return $result; }