Methods |
Description |
|---|---|
| Sync::onAdminRemoved() |
Sync when a admin is removed from the group |
| Sync::onAdminRemoved() |
Sync when a admin is removed from the group |
| Sync::onGroupCreate() |
Run the sync when new group is created |
| Sync::onGroupDeleted() |
Desync when group is deleted |
| Sync::onGroupDeleted() |
Desync when group is deleted |
| Sync::onGroupDeleting() |
Set the deleted gropu in temporarly variable for later use |
| Sync::onGroupDeleting() |
Set the deleted gropu in temporarly variable for later use |
| Sync::onGroupUpdate() |
Run the sync when new group is updated |
| Sync::onGroupUpdated() |
Run the sync when new group is created / updated |
| Sync::onMemberAdded() |
Sync when a member is added to the group |
| Sync::onMemberRemoved() |
Sync when a members is removed from the group |
| Sync::onModAdded() |
Sync when a mod is added to the group |
| Sync::onModRemoved() |
Sync when a mod is removed from the group |
| Sync::onUserAdded() |
Sync when a user is added to the group |
| Sync::onUserRemoved() |
Sync when a user is removed from the group |
| Sync::preCheck() |
Standard pre check bore all sync happens |
| Sync::preCheck() |
Standard pre check bore all sync happens |
| SyncGenerator::__construct() |
Constructor |
| SyncGenerator::addUserToBpGroup() |
Add a user to bp group by role |
| SyncGenerator::associateToBuddypress() |
Associate current ld group to bp group |
| SyncGenerator::associateToLearndash() |
Associate current bp group to a ld group |
| SyncGenerator::clearLdGroupCache() |
Clear the ld cache after sync |
| SyncGenerator::createBuddypressGroup() |
Create bp group based on current ld group |
| SyncGenerator::createLearndashGroup() |
Greate a ld group based on current bp group |
| SyncGenerator::deleteBpGroup() |
delete the bp group without trigging sync |
| SyncGenerator::deleteLdGroup() |
delete the ld group without trigging sync |
| SyncGenerator::desyncFromBuddypress() |
Un associate current ld group from bp group |
| SyncGenerator::desyncFromLearndash() |
Un-associate the current bp group from ld group |
| SyncGenerator::fullSyncToBuddypress() |
Run a full users sync up ld group to bp group |
| SyncGenerator::fullSyncToLearndash() |
Run a full users sync up bp group to ld group |
| SyncGenerator::getBpGroupId() |
Get the bp group id |
| SyncGenerator::getBpSyncFunction() |
Get the function that update ld group role |
| SyncGenerator::getBpSyncToRole() |
Get the bp role to sync to |
| SyncGenerator::getLastSyncTimestamp() |
Get the timestamp when the group is last synced |
| SyncGenerator::getLdGroupId() |
Get the ld group id |
| SyncGenerator::getLdSyncToRole() |
Get the ld role to sync to |
| SyncGenerator::hasBpGroup() |
Check if there’s a bp group |
| SyncGenerator::hasLdGroup() |
Check if there’s a ld group |
| SyncGenerator::loadBpGroupId() |
Find the bp group id on current ld group |
| SyncGenerator::loadLdGroupId() |
Find the ld group id on current bp group |
| SyncGenerator::maybeRemoveAsLdUser() |
Maybe remove ld user if user is promote or demote from bp |
| SyncGenerator::populateData() |
Populate the class data based on given input |
| SyncGenerator::setBpGroupId() |
Sasve bp group id to current ld group |
| SyncGenerator::setLdGroupId() |
Sasve ld group id to current bp group |
| SyncGenerator::setSyncGropuIds() |
Force id sync |
| SyncGenerator::syncBeforeBpMember() |
Check before Sync a bp member to ld |
| SyncGenerator::syncBpAdmin() |
Sync a bp admin to ld |
| SyncGenerator::syncBpAdmins() |
Sync the bp admins to ld |
| SyncGenerator::syncBpMember() |
Sync a bp member to ld |
| SyncGenerator::syncBpMod() |
Sync a bp mod to ld |