LDLMS_Course_Steps::set_step_to_course_relationship( array $steps = array(), int $parent_lesson_id )
Internal utility function to update the step postmeta with the parent course_id.
Description #
Parameters #
- $steps
-
(array) (Optional) Array of Course step nodes and items.
Default value: array()
- $parent_lesson_id
-
(int) (Required) Parent Lesson ID.
Source #
File: sfwd-lms/includes/classes/class-ldlms-model-course-steps.php
Changelog #
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |