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.

Метод класса: ActionScheduler_ListTable{}

Хуков нет.

Возвращает

Строку.

Использование

$ActionScheduler_ListTable = new ActionScheduler_ListTable();
$ActionScheduler_ListTable->column_log_entries( $row );
$row(массив) (обязательный)
Action array.

Код ActionScheduler_ListTable::column_log_entries() WC 8.7.0

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;
}