learndash_get_user_assignments

learndash_get_user_assignments( int $post_id,  int $user_id,  int $course_id )

Gets a list of user’s assignments.


Description #


Parameters #

$post_id

(int) (Required) Lesson ID.

$user_id

(int) (Required) User ID.

$course_id

(int) (Optional) Course ID. Default 0.


Return #

(array) Array of post objects or post IDs.


Source #

File: includes/ld-assignment-uploads.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.