Browse: Home / Hooks /

learndash_group_course_auto_enroll

apply_filters( 'learndash_group_course_auto_enroll',  boolean $enroll_in_group,  integer $group_id,  integer $course_id )

Filters whether to enroll into group for the course.


Description #


Parameters #

$enroll_in_group

(boolean) Whether to enroll the user into the group.

$group_id

(integer) The Group ID.

$course_id

(integer) The Course ID.


Source #

File: includes/course/ld-course-functions.php


Changelog #

Changelog
Version Description
3.2.0 Introduced.