learndash_process_lesson_topics_pager

learndash_process_lesson_topics_pager( array $topics = array(),  array $args = array() )

Processes the lesson topics pagination.


Description #


Parameters #

$topics

(array) (Optional) An array of topics.

Default value: array()

$args

(array) (Optional) An array of lesson topic pager arguments.

  • 'course_id'
    (int) Course ID.
  • 'lesson_id'
    (int) Lesson ID.

Default value: array()


Return #

(array) An array of paged topics.


Source #

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