bp_core_do_network_admin

  • apply_filters( 'bp_core_do_network_admin', $do_network_admin )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-functions.php :: Trac Source Line: 205
       	return apply_filters( 'bp_core_component_slug_from_root_slug', $slug, $root_slug );
      }
      
      function bp_core_do_network_admin() {
      	$do_network_admin = false;
      
      	if ( is_multisite() && !bp_is_multiblog_mode() )
      		$do_network_admin = true;
      
      	return apply_filters( 'bp_core_do_network_admin', $do_network_admin );
      }
      
      function bp_core_admin_hook() {
      	$hook = bp_core_do_network_admin() ? 'network_admin_menu' : 'admin_menu';
      
      	return apply_filters( 'bp_core_admin_hook', $hook );
      }
      
      /**
       * Initializes the wp-admin area "BuddyPress" menus and sub menus.
      
    • Component: BuddyPress :: bp-core
      File: /bp-core/admin/bp-core-update.php :: Trac Source Line: 1282
      	return apply_filters( 'bp_core_update_get_page_meta', $page_ids );
      }
      
      function bp_core_update_do_network_admin() {
      	$do_network_admin = false;
      
      	if ( is_multisite() && ( !defined( 'BP_ENABLE_MULTIBLOG' ) || !BP_ENABLE_MULTIBLOG ) )
      		$do_network_admin = true;
      
      	return apply_filters( 'bp_core_do_network_admin', $do_network_admin );
      }
      
      function bp_core_update_admin_hook() {
      	$hook = bp_core_update_do_network_admin() ? 'network_admin_menu' : 'admin_menu';
      
      	return apply_filters( 'bp_core_admin_hook', $hook );
      }
      
      /**
       * Adds an admin nag about running the BP upgrade/install wizard
      

Comments are closed.