learndash_course_get_steps_by_type( int $course_id, string $step_type = '' )

Gets the course steps by type.


Description Description


Parameters Parameters

$course_id

(Optional) Course ID. Default 0.

$step_type

(Optional) The type of the step.

Default value: ''


Top ↑

Return Return

(array) An array of course step IDs.


Top ↑

Source Source

File: includes/course/ld-course-steps-functions.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.