bp_groups_has_manage_group_members_templates()

Check if the active template pack includes the Group Membership management UI templates.


Return Return

(boolean) True if the active template pack includes the Group Membership management UI templates. False otherwise.


Source Source

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

function bp_groups_has_manage_group_members_templates() {
	return file_exists( bp_locate_template( 'common/js-templates/group-members/index.php' ) );
}


Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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