Sync::init()
Add actions once integration is ready
Description
Source
File: bp-integrations/learndash/learndash/Sync.php
public function init()
{
add_action('bp_ld_sync/learndash_group_updated', [$this, 'onGroupUpdated']);
add_action('bp_ld_sync/learndash_group_deleting', [$this, 'onGroupDeleting']);
add_action('bp_ld_sync/learndash_group_deleted', [$this, 'onGroupDeleted']);
add_action('bp_ld_sync/learndash_group_admin_added', [$this, 'onAdminAdded'], 10, 2);
add_action('bp_ld_sync/learndash_group_user_added', [$this, 'onUserAdded'], 10, 2);
add_action('bp_ld_sync/learndash_group_admin_removed', [$this, 'onAdminRemoved'], 10, 2);
add_action('bp_ld_sync/learndash_group_user_removed', [$this, 'onUserRemoved'], 10, 2);
}
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.