LDLMS_Course_Steps::set_step_to_course_relationship

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.


Return #

(array) Array of steps.


Source #

File: includes/classes/class-ldlms-model-course-steps.php


Changelog #

Changelog
Version Description
2.5.0 Introduced.