WC_Log_Handler_File::is_open( string $handle )

Check if a handle is open.


Description Description


Parameters Parameters

$handle

(Required) Log handle.


Top ↑

Return Return

(bool) True if $handle is open.


Top ↑

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 ] );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.