[buddypress-trac] [BuddyPress] #4789: Allow default admin menu in Groups component to be editiable.
buddypress-trac
noreply at wordpress.org
Mon Jan 28 06:12:55 UTC 2013
#4789: Allow default admin menu in Groups component to be editiable.
--------------------------+-----------------------------
Reporter: DennisSmolek | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Groups | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
Currently when you use the default groups component there is no way to
remove any of the subnav items under the admin tab.
For example:
My client wants to remove the "Delete" function from the admin menu for
non site admins. They can change other admin parts but she doesnt want
them to be able to do this. Currently there is no way to resolve this
easily without removing the core function totally. (bp_group_admin_tabs)
I suggest either passing an exclude option when calling the function or
running a filter with an array of included tabs.
Yes, its not hard to copy/paste the code without the tabs but its a ton of
extra unnecessary code.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4789>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list