WC_Log_Handler::format_time( int $timestamp )

Formats a timestamp for use in log messages.


Description Description


Parameters Parameters

$timestamp

(Required) Log timestamp.


Top ↑

Return Return

(string) Formatted time for use in log entry.


Top ↑

Source Source

File: includes/abstracts/abstract-wc-log-handler.php

	protected static function format_time( $timestamp ) {
		return date( 'c', $timestamp );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.