WC_Log_Handler_File::write_cached_logs()
Write cached logs.
Method of the class: WC_Log_Handler_File{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Log_Handler_File = new WC_Log_Handler_File(); $WC_Log_Handler_File->write_cached_logs();
WC_Log_Handler_File::write_cached_logs() WC Log Handler File::write cached logs code WC 9.3.1
public function write_cached_logs() { foreach ( $this->cached_logs as $log ) { $this->add( $log['entry'], $log['handle'] ); } }