LLMS_Course::get_quizzes()
Retrieve an array of quizzes within a course
Return Return
(int[]) Array of WP_Post IDs of the quizzes.
Source Source
File: includes/models/model.llms.course.php
array( 'meta_key' => '_llms_parent_course', 'meta_value' => $this->get( 'id' ), 'post_type' => 'lesson', 'posts_per_page' => -1, 'no_found_rows' => true, 'update_post_meta_cache' => false, 'update_post_term_cache' => false, 'fields' => 'ids', 'orderby' => 'ID', 'order' => 'ASC',
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Unknown. |
3.12.0 | Introduced. |