BP_Appboss_Integration::setup_admin_integration_tab()

Register admin setting tab, only if AppBoss plugin is disabled

Description

Source

File: bp-integrations/appboss/bp-appboss-integration.php

35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
public function setup_admin_integration_tab() {
     
    if (!is_plugin_active($this->required_plugin)) {
 
        require_once trailingslashit($this->path) . 'bp-admin-appboss-tab.php';
 
        new BP_Appboss_Admin_Integration_Tab(
            "bp-{$this->id}",
            $this->name,
            [
                'root_path' => $this->path,
                'root_url' => $this->url,
                'required_plugin' => $this->required_plugin,
            ]
        );
 
    }
}

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.