Browse: Home / Functions /

learndash_report_course_users_progress

learndash_report_course_users_progress( int $course_id,  array $user_query_args = array(),  array $activity_query_args = array() )

Gets the user’s course progress for the report.


Description #


Parameters #

$course_id

(int) (Optional) The ID of the course to get user progress. Default 0.

$user_query_args

(array) (Optional) The ID of the user to get progress.

Default value: array()

$activity_query_args

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

Default value: array()


Return #

(array) Returns user course progress results.


Source #

File: includes/ld-reports.php


Changelog #

Changelog
Version Description
2.3.0 Introduced.