WC_Log_Handler::format_time
Formats a timestamp for use in log messages.
Method of the class: WC_Log_Handler{}
No Hooks.
Returns
String. Formatted time for use in log entry.
Usage
$result = WC_Log_Handler::format_time( $timestamp );
- $timestamp(int) (required)
- Log timestamp.
WC_Log_Handler::format_time() WC Log Handler::format time code WC 10.4.3
protected static function format_time( $timestamp ) {
return gmdate( 'c', $timestamp );
}