bp_is_group_admin_screen( string $slug = '' )

Is the current page a specific group admin screen?

Description

Parameters

$slug

(Optional) Admin screen slug.

Default value: ''

Return

(bool)

Source

File: bp-groups/bp-groups-template.php

function bp_is_group_admin_screen( $slug = '' ) {
	return (bool) ( bp_is_group_admin_page() && bp_is_action_variable( $slug ) );
}

Changelog

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