learndash_can_user_autoenroll_courses

learndash_can_user_autoenroll_courses( int $user_id )

Check if user can auto-enroll in courses.


Description #

.


Parameters #

$user_id

(int) (Required) User ID.


Return #

(bool) True if user can auto-enroll.


Source #

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


Changelog #

Changelog
Version Description
3.2.3 Introduced.