Helpers::getLearndashGroupId( $groupId )

Get the connected ld group id

Description

Source

File: bp-integrations/learndash/buddypress/Helpers.php

	public function getLearndashGroupId($groupId)
	{
		return bp_ld_sync('buddypress')->sync->generator($groupId)->getLdGroupId();
		return bp_learndash_groups_sync_get_associated_ld_group($groupId)->ID;
		return groups_get_groupmeta($groupId, $this->ldGroupMetaKey, true);
	}

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.