SyncGenerator::deleteLdGroup( $ldGroupId )
delete the ld group without trigging sync
Description
Source
File: bp-integrations/learndash/library/SyncGenerator.php
public function deleteLdGroup($ldGroupId)
{
$this->syncingToLearndash(function() use ($ldGroupId) {
wp_delete_post($ldGroupId, true);
});
}
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.