learndash_set_users_for_course( int $course_id, array $course_users_new = array() )

Sets new users to the course access list.


Description Description


Parameters Parameters

$course_id

(Optional) The ID of the course. Default 0.

$course_users_new

(Optional) An array of user IDs to set course access.

Default value: array()


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.