ActionScheduler_ListTable::column_log_entries()publicWC 1.0

Prints the logs entries inline. We do so to avoid loading Javascript and other hacks to show it in a modal.

Method of the class: ActionScheduler_ListTable{}

No Hooks.

Return

String.

Usage

$ActionScheduler_ListTable = new ActionScheduler_ListTable();
$ActionScheduler_ListTable->column_log_entries( $row );
$row(array) (required)
Action array.

ActionScheduler_ListTable::column_log_entries() code WC 9.3.3

public function column_log_entries( array $row ) {

	$log_entries_html = '<ol>';

	$timezone = new DateTimezone( 'UTC' );

	foreach ( $row['log_entries'] as $log_entry ) {
		$log_entries_html .= $this->get_log_entry_html( $log_entry, $timezone );
	}

	$log_entries_html .= '</ol>';

	return $log_entries_html;
}