Automattic\WooCommerce\Internal\Admin\Logging\FileV2
FileListTable::column_created
Render the created column.
Метод класса: FileListTable{}
Хуков нет.
Возвращает
Строку.
Использование
$FileListTable = new FileListTable(); $FileListTable->column_created( $item ): string;
- $item(File) (обязательный)
- The current log file being rendered.
Код FileListTable::column_created() FileListTable::column created WC 10.8.1
public function column_created( $item ): string {
$timestamp = $item->get_created_timestamp();
return gmdate( 'Y-m-d', $timestamp );
}