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.

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 Description


Parameters Parameters

$steps

(Optional) Array of Course step nodes and items.

Default value: array()

$parent_lesson_id

(Required) Parent Lesson ID.


Top ↑

Return Return

(array) Array of steps.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.