learndash_get_course_lessons_order( int $course_id )

Gets the course lessons order query arguments.


Description 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 Parameters

$course_id

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


Top ↑

Return Return

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


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.8 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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