Core::__construct()

Constructor

Description

Source

File: bp-integrations/learndash/core/Core.php

34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
public function __construct()
{
    $this->registerAutoloader();
 
    $this->admin        = new Admin;
    $this->dependencies = new Dependencies;
    $this->requirements = new Requirements;
    $this->buddypress   = new BuddypressCore;
    $this->learndash    = new LearndashCore;
    $this->settings     = new Settings;
 
    $this->pluginName = __('BuddyBoss LearnDash', 'buddyboss');
 
    add_action('bp_ld_sync/requirements_checked', [$this, 'init']);
}

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.