LLMS_Admin_Post_Table_Orders::add_columns( array $columns )
Order post. Appends custom columns to post grid.
Parameters Parameters
- $columns
-
(array) (Required) Array of columns.
Return Return
(array)
Source Source
File: includes/admin/post-types/post-tables/class.llms.admin.post.table.orders.php
public function add_columns( $columns ) { $columns = array( 'cb' => '<input type="checkbox" />', 'order' => __( 'Order', 'lifterlms' ), 'payment_status' => __( 'Payment Status', 'lifterlms' ), 'access_status' => __( 'Access Status', 'lifterlms' ), 'product' => __( 'Product', 'lifterlms' ), 'revenue' => __( 'Revenue', 'lifterlms' ), 'type' => __( 'Order Type', 'lifterlms' ), 'order_date' => __( 'Date', 'lifterlms' ), ); return $columns; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.24.0 | Unknown. |
3.0.0 | Introduced. |