SyncGenerator::unsetLdGroupMeta( $removeProp = true )

Remove ld group id from current bp group

Description

Source

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

563
564
565
566
567
568
569
570
571
protected function unsetLdGroupMeta($removeProp = true)
{
    if ($removeProp) {
        $this->ldGroupId = null;
    }
 
    groups_delete_groupmeta($this->bpGroupId, $this->syncMetaKey);
    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.