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 Includes course id, all section ids, all lesson ids, and all quiz ids
Description Description
Return Return
(array)
Source Source
File: includes/class.llms.course.data.php
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. |
User Contributed Notes User Contributed Notes
Permalink: