SyncGenerator::syncBpAdmins()

Sync the bp admins to ld

Description

Source

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

	public function syncBpAdmins()
	{
		$this->syncingToLearndash(function() {
			$adminIds = groups_get_group_admins($this->bpGroupId);

			foreach ($adminIds as $admin) {
				$this->syncBpAdmin($admin->user_id, false, false);
			}
		});

		$this->clearLdGroupCache();

		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.