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 Description
Parameters Parameters
- $user_id
-
(Optional) User ID to get course list. Default 0.
- $course_query_args
-
(Optional) The query arguments to get the list of user enrolled courses.
Default value: array()
- $activity_query_args
-
(Optional) The query arguments to get the the user activities.
Default value: array()
Return 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 Source
File: includes/ld-reports.php
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |