LLMS_Table_Course_Students::set_args()

Define the structure of arguments used to pass to the get_results method


Return Return

(array)


Top ↑

Source Source

File: includes/admin/reporting/tables/llms.table.course.students.php

	public function set_args() {

		if ( ! $this->course_id ) {
			$this->course_id = ! empty( $_GET['course_id'] ) ? absint( $_GET['course_id'] ) : null;
		}

		return array(
			'course_id' => $this->course_id,
		);

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.15.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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