LLMS_Table_Memberships::set_columns()
Define the structure of the table.
Return Return
(array)
Source Source
File: includes/admin/reporting/tables/llms.table.memberships.php
protected function set_columns() { return array( 'id' => array( 'exportable' => true, 'title' => __( 'ID', 'lifterlms' ), 'sortable' => true, ), 'title' => array( 'exportable' => true, 'title' => __( 'Title', 'lifterlms' ), 'sortable' => true, ), 'instructors' => array( 'exportable' => true, 'filterable' => current_user_can( 'view_others_lifterlms_reports' ) ? $this->get_instructor_filters() : false, 'title' => __( 'Instructors', 'lifterlms' ), ), 'students' => array( 'exportable' => true, 'title' => __( 'Students', 'lifterlms' ), ), ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.32.0 | Introduced. |