SyncGenerator::syncLdAdmins()

Sync the ld admins to bp

Description

Source

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

	public function syncLdAdmins()
	{
		$this->syncingToBuddypress(function() {
			$adminIds = learndash_get_groups_administrator_ids($this->ldGroupId);

			foreach ($adminIds as $adminId) {
				$this->syncLdAdmin($adminId);
			}
		});

		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.