LLMS_Table_Student_Courses::set_columns()

Define the structure of the table


Return Return

(array)


Top ↑

Source Source

File: includes/admin/reporting/tables/llms.table.student.courses.php

225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
public function set_columns() {
    return array(
        'id'        => array(
            'title' => __( 'ID', 'lifterlms' ),
        ),
        'name'      => array(
            'title'    => __( 'Name', 'lifterlms' ),
            'sortable' => true,
        ),
        'status'    => array(
            'title' => __( 'Status', 'lifterlms' ),
        ),
        'grade'     => array(
            'title' => __( 'Grade', 'lifterlms' ),
        ),
        'progress'  => array(
            'title' => __( 'Progress', 'lifterlms' ),
        ),
        'updated'   => array(
            'title'    => __( 'Updated', 'lifterlms' ),
            'sortable' => true,
        ),
        'completed' => array(
            'title' => __( 'Completed', 'lifterlms' ),
        ),
    );
}

Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.