SyncGenerator::syncingToBuddypress( $callback )
Wrapper to prevent infinite 2 way sync when syncing to buddypress
Description
Source
File: bp-integrations/learndash/library/SyncGenerator.php
protected function syncingToBuddypress($callback) { global $bp_ld_sync__syncing_to_buddypress; $bp_ld_sync__syncing_to_buddypress = true; $callback(); $bp_ld_sync__syncing_to_buddypress = false; return $this; }
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.