LDLMS_Course_Steps::get_children_steps( int $parent_post_id, string $return_post_type = '', string $return_type = 'ids', bool $nested = false )

Get Parent Children steps.


Description Description


Parameters Parameters

$parent_post_id

(Required) The parent post ID.

$return_post_type

(Optional) Return specific post type.

Default value: ''

$return_type

(Optional) Return type. Default 'ids'. Other values 'objects'.

Default value: 'ids'

$nested

(Optional) Wether to traverse substeps.

Default value: false


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Added $nested parameter.
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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