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::flatten_item_parent_steps( array $steps = array() )
Internal utility function to reverse parent keys of the Course nodes and items.
Description Description
Parameters Parameters
- $steps
-
(Optional) Array of Course step nodes and items.
Default value: array()
Return Return
(array) Array of steps.
Source Source
File: includes/classes/class-ldlms-model-course-steps.php
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |