Docs

EVF_Log_Handler_File::clear( string $handle ): bool

Clear entries from chosen file.

Parameters

$handlestringrequired
Log handle.

Return

bool

Hooks

do_action( ‘everest_forms_log_clear’ )

$this->open( $handle, ‘w’ ) == Open the file for writing only. Place the file pointer at the beginning of the file, and truncate the file to zero length.