LLMS_Table_Membership_Students::set_columns()
Define the structure of the table
Return Return
(array)
Source Source
File: includes/admin/reporting/tables/llms.table.membership.students.php
public function set_columns() {
$cols = array(
'id' => array(
'exportable' => true,
'sortable' => true,
'title' => __( 'ID', 'lifterlms' ),
),
'name' => array(
'sortable' => true,
'title' => __( 'Name', 'lifterlms' ),
),
'name_last' => array(
'exportable' => true,
'export_only' => true,
'title' => __( 'Last Name', 'lifterlms' ),
),
'name_first' => array(
'exportable' => true,
'export_only' => true,
'title' => __( 'First Name', 'lifterlms' ),
),
'email' => array(
'exportable' => true,
'export_only' => true,
'title' => __( 'Email', 'lifterlms' ),
),
'status' => array(
'exportable' => true,
'filterable' => llms_get_enrollment_statuses(),
'sortable' => true,
'title' => __( 'Status', 'lifterlms' ),
),
'enrolled' => array(
'exportable' => true,
'sortable' => true,
'title' => __( 'Enrollment Updated', 'lifterlms' ),
),
);
return $cols;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.32.0 | Introduced. |