bbp_admin_custom_menu_order

Tell WordPress we have a custom menu order.

Description

bbp_admin_custom_menu_order( (bool) $menu_order = false ); 

Parameters (1)

0. $menu_order — Optional. (bool) => false
The menu order.

Usage

  1. if ( !function_exists( 'bbp_admin_custom_menu_order' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/admin/functions.php'; 
  3.  
  4. // The menu order. 
  5. $menu_order = false; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bbp_admin_custom_menu_order($menu_order); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/admin/functions.php  
  1. function bbp_admin_custom_menu_order( $menu_order = false ) { 
  2. if ( false ===bbpress)->admin->show_separator ) 
  3. return $menu_order; 
  4.  
  5. return true;