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