learndash_report_user_courses_progress

learndash_report_user_courses_progress( int $user_id,  array $course_query_args = array(),  array $activity_query_args = array() )

Gets the users course progress for the report.


Description #


Parameters #

$user_id

(int) (Optional) User ID to get course list. Default 0.

$course_query_args

(array) (Optional) The query arguments to get the list of user enrolled courses.

Default value: array()

$activity_query_args

(array) (Optional) The query arguments to get the the user activities.

Default value: array()


Return #

(array) If course query and activity query is successfull this should be a multi-dimensional array showing 'results', 'pager', 'query_args', 'query_str'


Source #

File: includes/ld-reports.php


Changelog #

Changelog
Version Description
2.3.0 Introduced.