Sync::preCheck()

Standard pre check bore all sync happens

Description

Source

File: bp-integrations/learndash/learndash/Sync.php

212
213
214
215
216
217
218
219
220
221
222
protected function preCheck()
{
    global $bp_ld_sync__syncing_to_learndash;
 
    // if it's group is created from buddypress sync, don't need to sync back
    if ($bp_ld_sync__syncing_to_learndash) {
        return false;
    }
 
    return bp_ld_sync('settings')->get('learndash.enabled');
}

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.