WordPress at Your Fingertips
function is not described

WC_Log_Handler_Email::clear_logs() protected WC 1.0

Clear log messages.

{} It's a method of the class: WC_Log_Handler_Email{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Log_Handler_Email::clear_logs() WC 5.8.0

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