LLMS_Table_Quizzes::set_columns()

Define the structure of the table


Description Description


Return Return

(array)


Top ↑

Source Source

File: includes/admin/reporting/tables/llms.table.quizzes.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,
			),
			'course' => array(
				'exportable' => true,
				'title' => __( 'Course', 'lifterlms' ),
				'sortable' => false,
			),
			'lesson' => array(
				'exportable' => true,
				'title' => __( 'Lesson', 'lifterlms' ),
				'sortable' => false,
			),
			'attempts' => array(
				'exportable' => true,
				'title' => __( 'Total Attempts', 'lifterlms' ),
				'sortable' => false,
			),
			'average' => array(
				'exportable' => true,
				'title' => __( 'Average Grade', 'lifterlms' ),
				'sortable' => false,
			),
		);
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.16.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: