LLMS_Admin_Post_Table_Orders::sortable_columns( array $columns )
Order post: Creates array of columns that will be sortable.
Parameters Parameters
- $columns
-
(array) (Required) Array of sortable columns.
Return Return
(array)
Source Source
File: includes/admin/post-types/post-tables/class.llms.admin.post.table.orders.php
public function sortable_columns( $columns ) { $columns['order'] = 'order'; $columns['product'] = 'product'; $columns['order_date'] = 'order_date'; return $columns; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |