bp_groups_admin_menu_order( array $custom_menus = array() )

Add groups component to custom menus array.


Description Description

This ensures that the Groups menu item appears in the proper order on the main Dashboard menu.


Parameters Parameters

$custom_menus

(Optional) Array of BP top-level menu items.

Default value: array()


Top ↑

Return Return

(array) Menu item array, with Groups added.


Top ↑

Source Source

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

function bp_groups_admin_menu_order( $custom_menus = array() ) {
	array_push( $custom_menus, 'bp-groups' );
	return $custom_menus;
}

Top ↑

Changelog Changelog

Changelog
Version Description
1.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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