Skip to content

Group Enrollment Management

When a course is linked to a BuddyPress group, site managers can move students in and out of that group directly, in addition to the automatic join that happens on enrollment.

  • BuddyPress is active with the Groups component.
  • BuddyPress group integration is enabled (see Theme settings).
  • The course is linked to a BuddyPress group (see Per-course options).
  • Add a single student to the linked group.
  • Remove or delete a single student from the linked group.
  • Bulk enroll several students into the linked group at once.

These actions are performed from the course management screen and run over AJAX.

Both actions require the manage_lifterlms capability, so only users who can manage LifterLMS can change group enrollment. Each request is also protected by a nonce (reign_llms_group_enrollment_nonce). Requests fail with a clear message if the capability or nonce check does not pass, if group integration is off, or if the course has no linked group.

  • Adding a student calls the BuddyPress group-join function; removing or deleting calls the group-leave function.
  • Bulk enrollment joins every submitted student to the linked group.
  • The UI handles the “no group linked” and “integration disabled” cases by returning an explanatory error rather than acting.