LDLMS_Course_Steps
Class: Class for LearnDash Course Steps.
LDLMS_Course_Steps Read More »
@package: LearnDash / Course / Steps
Source Files: includes/classes/class-ldlms-model-course-steps.php
Class: Class for LearnDash Course Steps.
LDLMS_Course_Steps Read More »
Method: Internal utility function to update the step postmeta with the parent course_id.
LDLMS_Course_Steps::set_step_to_course_relationship Read More »
Method: Public constructor for class.
LDLMS_Course_Steps::__construct Read More »
Method: Internal utility function to update the step postmeta menu_order value.
LDLMS_Course_Steps::set_step_to_course_order Read More »
Method: Load Course Steps.
LDLMS_Course_Steps::load_steps Read More »
Method: Load Course Steps for legacy setup (non-shared steps).
LDLMS_Course_Steps::load_steps_legacy Read More »
Method: Sets the Course steps dirty flag and will force the steps to be reloaded from queries.
LDLMS_Course_Steps::set_steps_dirty Read More »
Method: Returns the parent steps for a given step. Empty array if no parent steps.
LDLMS_Course_Steps::get_item_parent_steps Read More »
Method: Check if the steps dirty flag is set.
LDLMS_Course_Steps::is_steps_dirty Read More »
Method: Clear the steps dirty flag.
LDLMS_Course_Steps::clear_steps_dirty Read More »
Method: Get the total steps for the course.
LDLMS_Course_Steps::get_steps_count Read More »
Method: Build Course Steps nodes.
LDLMS_Course_Steps::build_steps Read More »
Method: Validate Course Steps nodes and items.
LDLMS_Course_Steps::validate_steps Read More »
Method: This converts the normal hierarchy steps into an array groups be the post type. This is easier for search.
LDLMS_Course_Steps::steps_grouped_by_type Read More »
Method: Steps grouped linear.
LDLMS_Course_Steps::steps_grouped_linear Read More »
Method: Group Steps reversed keys.
LDLMS_Course_Steps::steps_grouped_reverse_keys Read More »
Method: Set Course steps.
LDLMS_Course_Steps::set_steps Read More »
Method: Get Course steps by node type.
LDLMS_Course_Steps::get_steps Read More »
Method: This function sets a post_meta association for the various steps within the course.
LDLMS_Course_Steps::set_step_to_course Read More »
Method: Set Steps to Course Legacy.
LDLMS_Course_Steps::set_step_to_course_legacy Read More »