WC_Admin_Log_Table_List::column_timestamp()publicWC 1.0

Timestamp column.

Method of the class: WC_Admin_Log_Table_List{}

No Hooks.

Return

String.

Usage

$WC_Admin_Log_Table_List = new WC_Admin_Log_Table_List();
$WC_Admin_Log_Table_List->column_timestamp( $log );
$log(array) (required)
-

WC_Admin_Log_Table_List::column_timestamp() code WC 8.6.1

public function column_timestamp( $log ) {
	return esc_html(
		mysql2date(
			'Y-m-d H:i:s',
			$log['timestamp']
		)
	);
}