BP_Admin_Tab::add_section( $id,  $title,  $callback = '__return_null' )

Add a wp setting section into current tab. Chainable

Description

Source

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

	public function add_section( $id, $title, $callback = '__return_null' ) {
		add_settings_section( $id, $title, $callback, $this->tab_name );
		$this->active_section = $id;

		return $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.