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()


Top ↑

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'


Top ↑

Source Source

File: includes/ld-reports.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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