learndash_get_course_assignments( int|null $course_id = null, int|null $user_id = null )

Gets the course assignments.


Description Description

Returns WP_query object to get course assignments.


Parameters Parameters

$course_id

(Optional) Course ID.

Default value: null

$user_id

(Optional) User ID.

Default value: null


Top ↑

Return Return

(WP_Query|false) Return WP_Query object if there are assignments in course otherwise false.


Top ↑

Source Source

File: themes/ld30/includes/helpers.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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