Automattic\WooCommerce\Internal\Admin\Logging\FileV2

FileListTable::column_sizepublicWC 1.0

Render the size column.

Method of the class: FileListTable{}

No Hooks.

Returns

String.

Usage

$FileListTable = new FileListTable();
$FileListTable->column_size( $item ): string;
$item(File) (required)
The current log file being rendered.

FileListTable::column_size() code WC 10.3.6

public function column_size( $item ): string {
	$size = $item->get_file_size();

	return size_format( $size );
}