learndash_get_user_group_progress( integer $group_id, integer $user_id, boolean $recalc = false )
Check and recalculate the the status of the Group Courses for the User.
Description #
Parameters #
- $group_id
-
(integer) (Required) Group ID to check.
- $user_id
-
(integer) (Required) User ID to check.
- $recalc
-
(boolean) (Optional) Force the logic to recheck all courses.
Default value: false
Source #
File: includes/ld-groups.php
Changelog #
Version | Description |
---|---|
3.2.0 | Introduced. |