SyncGenerator::syncLdUsers()

Sync the ld students to bp

Description

Source

File: bp-integrations/learndash/library/SyncGenerator.php

	public function syncLdUsers()
	{
		$this->syncingToBuddypress(function() {
			$userIds = learndash_get_groups_user_ids($this->ldGroupId);

			foreach ($userIds as $userId) {
				$this->syncLdUser($userId);
			}
		});

		return $this;
	}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.