Automattic\WooCommerce\Internal\Admin\Logging\FileV2
FileListTable::get_columns
Gets a list of columns.
Method of the class: FileListTable{}
No Hooks.
Returns
Array.
Usage
$FileListTable = new FileListTable(); $FileListTable->get_columns(): array;
FileListTable::get_columns() FileListTable::get columns code WC 10.3.3
public function get_columns(): array {
$columns = array(
'cb' => '<input type="checkbox" />',
'source' => esc_html__( 'Source', 'woocommerce' ),
'created' => esc_html__( 'Date created', 'woocommerce' ),
'modified' => esc_html__( 'Date modified', 'woocommerce' ),
'size' => esc_html__( 'File size', 'woocommerce' ),
);
return $columns;
}