Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Only admin can create a group!


John James Jacoby
Keymaster

@johnjamesjacoby

Easiest way would be to use the WPMU function is_site_admin() to determine if the currently logged in user is a site admin, and then hide the buttons accordingly in your template.

Then, you can create a custom function in plugins/bp-custom.php to redirect a user if they try to access the group creation URL directly.

Skip to toolbar