learndash_group_course_completed

learndash_group_course_completed( array $course_data = array() )

Hook into the User Course Complete action.


Description #

When the user completes a Course we check if that course is part of any group the user is enrolled into.


Parameters #

$course_data

(array) (Optional) Array of course data.

Default value: array()

$timestamp

(integer) (Required) Time the Course was completed.


Source #

File: includes/ld-groups.php


Changelog #

Changelog
Version Description
3.2.0 Introduced.