Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Course_Data::get_all_ids()
Retrieve an array of all post ids in the course
Description Description
Includes course id, all section ids, all lesson ids, and all quiz ids.
Return Return
(array)
Source Source
File: includes/class.llms.course.data.php
48 49 50 51 52 53 54 55 | private function get_all_ids() { return array_merge ( array ( $this ->post_id ), $this ->post->get_sections( 'ids' ), $this ->post->get_lessons( 'ids' ), $this ->post->get_quizzes() ); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.31.0 | Use $this->post_id instead of deprecated $this->course_id. |
3.15.0 | Introduced. |