BP_Admin_Tab::register_tab()

Register the tab to global variable

Description

Source

File: bp-core/classes/class-bp-admin-tab.php

	public function register_tab() {
		global ${$this->global_tabs_var};

		${$this->global_tabs_var}[$this->tab_name] = $this;
	}

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.