Automattic\WooCommerce\Internal\Admin\Logging\FileV2
FileListTable::get_sortable_columns
Gets a list of sortable columns.
Method of the class: FileListTable{}
No Hooks.
Returns
Array.
Usage
// protected - for code of main (parent) or child class $result = $this->get_sortable_columns(): array;
FileListTable::get_sortable_columns() FileListTable::get sortable columns code WC 10.3.6
protected function get_sortable_columns(): array {
$sortable = array(
'source' => array( 'source' ),
'created' => array( 'created' ),
'modified' => array( 'modified', true ),
'size' => array( 'size' ),
);
return $sortable;
}