Browse: Home / Classes / Learndash_Admin_Data_Upgrades_Course_Access_List_Convert /

Learndash_Admin_Data_Upgrades_Course_Access_List_Convert::remove_course_activity_access

Learndash_Admin_Data_Upgrades_Course_Access_List_Convert::remove_course_activity_access( integer $course_id,  array $user_ids = array() )

Remove course activity access for users


Description #


Parameters #

$course_id

(integer) (Required) Course ID

$user_ids

(array) (Optional) User IDs

Default value: array()


Return #

(array) activity row


Source #

File: includes/admin/classes-data-upgrades-actions/class-learndash-admin-data-upgrades-course-access-list-convert.php


Changelog #

Changelog
Version Description
3.1.0 Introduced.