Admin::init()

Add actions once integration is ready

Description

Source

File: bp-integrations/learndash/learndash/Admin.php

35
36
37
38
39
40
41
42
public function init()
{
    if (! bp_ld_sync('settings')->get('learndash.enabled')) {
        return;
    }
 
    add_action('add_meta_boxes', [$this, 'addGroupSyncMetaBox']);
}

Changelog

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.