WC_Log_Handler_Email::clear_logsprotectedWC 1.0

Clear log messages.

Method of the class: WC_Log_Handler_Email{}

No Hooks.

Returns

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.9.4

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