LDLMS_Course_Steps::steps_grouped_by_type

LDLMS_Course_Steps::steps_grouped_by_type( array $steps = array() )

This converts the normal hierachy steps into an array groups be the post type. This is easier for search.


Description #


Parameters #

$steps

(array) (Optional) Array of Course steps nodes and items.

Default value: array()


Return #

(array) Array of steps by type.


Source #

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


Changelog #

Changelog
Version Description
2.5.0 Introduced.