WC_Log_Handler_Email::clear_logs()protectedWC 1.0

Clear log messages.

Method of the class: WC_Log_Handler_Email{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->clear_logs();

WC_Log_Handler_Email::clear_logs() code WC 9.3.1

protected function clear_logs() {
	$this->logs = array();
}