bbp_admin_custom_menu_order( bool $menu_order = false )
Tell WordPress we have a custom menu order
Description
Parameters
- $menu_order
-
(Optional) Menu order
Default value: false
Return
(mixed) True if separator, false if not
Source
File: bp-forums/admin/functions.php
function bbp_admin_custom_menu_order( $menu_order = false ) { if ( false === bbpress()->admin->show_separator ) return $menu_order; return true; }
Changelog
Version | Description |
---|---|
bbPress (r2957) | 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.