Browse: Home / Functions /


learndash_get_course_lessons_order( int $course_id )

Gets the course lessons order query arguments.

Description #

The course lessons order can be set in the course or globally defined in the lesson options. This function will check all logic and return the correct setting.

Parameters #


(int) (Optional) The ID of the course. Default 0.

Return #

(array) An array of course lessons order query arguments.

Source #

File: includes/course/ld-course-functions.php

Changelog #

Version Description
2.5.8 Introduced.