BP_Members_Admin::register_members_admin()

Setup BP Members Admin.

Description

Return

(BP_Members_Admin)

Source

File: bp-members/classes/class-bp-members-admin.php

	public static function register_members_admin() {
		if ( ! is_admin() ) {
			return;
		}

		$bp = buddypress();

		if ( empty( $bp->members->admin ) ) {
			$bp->members->admin = new self;
		}

		return $bp->members->admin;
	}

Changelog

Changelog
Version Description
BuddyPress 2.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.