apply_filters( 'learndash_override_course_auto_enroll', boolean $auto_enroll , int $user_id )
Filters whether to auto enroll a user into a course or not.
Description Description
Parameters Parameters
- $auto_enroll
-
Whether to auto enroll user or not.
- $user_id
-
ID of the logged in user to check.
Source Source
File: includes/course/ld-course-functions.php
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |