Sync::init()
Add actions once integration is ready
Description
Source
File: bp-integrations/learndash/buddypress/Sync.php
public function init() { add_action('bp_ld_sync/buddypress_group_created', [$this, 'onGroupCreate']); add_action('bp_ld_sync/buddypress_group_updated', [$this, 'onGroupUpdate']); add_action('bp_ld_sync/buddypress_group_deleting', [$this, 'onGroupDeleting']); add_action('bp_ld_sync/buddypress_group_deleted', [$this, 'onGroupDeleted']); add_action('bp_ld_sync/buddypress_group_admin_added', [$this, 'onAdminAdded'], 10, 3); add_action('bp_ld_sync/buddypress_group_mod_added', [$this, 'onModAdded'], 10, 3); add_action('bp_ld_sync/buddypress_group_member_added', [$this, 'onMemberAdded'], 10, 3); add_action('bp_ld_sync/buddypress_group_admin_removed', [$this, 'onAdminRemoved'], 10, 3); add_action('bp_ld_sync/buddypress_group_mod_removed', [$this, 'onModRemoved'], 10, 3); add_action('bp_ld_sync/buddypress_group_member_removed', [$this, 'onMemberRemoved'], 10, 3); // add_action('bp_ld_sync/buddypress_group_member_banned', [$this, 'onMemberRemoved'], 10, 3); }
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.