Automattic\WooCommerce\Internal\Admin\Logging\FileV2
FileListTable::column_size
Render the size column.
Метод класса: FileListTable{}
Хуков нет.
Возвращает
Строку.
Использование
$FileListTable = new FileListTable(); $FileListTable->column_size( $item ): string;
- $item(File) (обязательный)
- The current log file being rendered.
Код FileListTable::column_size() FileListTable::column size WC 10.5.2
public function column_size( $item ): string {
$size = $item->get_file_size();
return size_format( $size );
}