bp_gifts_add_admin_menu_network

The Buddypress Gifts Latest 2014 bp gifts add admin menu network function.

Description

bp_gifts_add_admin_menu_network(); 

Usage

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

Defined (1)

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

/includes/bp-gifts-core.php  
  1. function bp_gifts_add_admin_menu_network() { 
  2.  
  3. global $bp; 
  4.  
  5. if ( is_super_admin() ) { 
  6.  
  7. //require ( dirname( __FILE__ ) . '/bp-gifts-admin-network.php' ); 
  8.  
  9. add_submenu_page( 'bp-general-settings', __( 'Buddypress Gifts', 'bp-gifts' ), __( 'Gifts Setup', 'bp-gifts' ), 'manage_options', 'bp-gifts-settings', 'bp_gifts_admin' ); 
  10. else { 
  11.  
  12. return false; 
  13.  
  14.