LLMS_Table_Course_Students::set_args()
Define the structure of arguments used to pass to the get_results method
Contents
Return Return
(array)
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,
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.15.0 | Introduced. |