SyncGenerator::verifyInputs()
Verify the givent group ids still exists in db
Description
Source
File: bp-integrations/learndash/library/SyncGenerator.php
protected function verifyInputs() { if ($this->bpGroupId && ! groups_get_group($this->bpGroupId)->id) { $this->unsetBpGroupMeta(); } if ($this->ldGroupId && ! get_post($this->ldGroupId)) { $this->unsetLdGroupMeta(); } }
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.