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

	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.