bp_admin_wp_nav_menu_meta_box

Register meta box and associated JS for BuddyPress WP Nav Menu.

Description

bp_admin_wp_nav_menu_meta_box(); 

Usage

  1. if ( !function_exists( 'bp_admin_wp_nav_menu_meta_box' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-core/admin/bp-core-admin-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_admin_wp_nav_menu_meta_box(); 
  7.  

Defined (1)

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

/bp-core/admin/bp-core-admin-functions.php  
  1. function bp_admin_wp_nav_menu_meta_box() { 
  2. if ( ! bp_is_root_blog() ) { 
  3. return; 
  4.  
  5. add_meta_box( 'add-buddypress-nav-menu', __( 'BuddyPress', buddypress ), 'bp_admin_do_wp_nav_menu_meta_box', 'nav-menus', 'side', 'default' ); 
  6.