bp_forums_admin_menu_order( array $custom_menus = array() )
Add forums component to custom menus array.
Description
Parameters
- $custom_menus
-
(Optional) The list of top-level BP menu items.
Default value: array()
Return
(array) $custom_menus List of top-level BP menu items, with Forums added.
Source
File: bp-forums/admin.php
function bp_forums_admin_menu_order( $custom_menus = array() ) { array_push( $custom_menus, 'bp-forums' ); return $custom_menus; }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.