bp_is_group_admin_screen( string $slug = '' )

Is the current page a specific group admin screen?


Parameters Parameters

$slug

(string) (Optional) Admin screen slug.

Default value: ''


Top ↑

Return Return

(bool)


Source 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 ) );
}


Top ↑

Changelog Changelog

Changelog
Version Description
1.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.