bp_core_admin_hook

  • apply_filters( 'bp_core_admin_hook', $hook )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-functions.php :: Trac Source Line: 211
      	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.
       *
       * @package BuddyPress Core
       * @uses is_super_admin() returns true if the current user is a site admin, false if not
       */
      function bp_core_admin_menu_init() {
      	if ( !is_super_admin() )
      
    • Component: BuddyPress :: bp-core
      File: /bp-core/admin/bp-core-update.php :: Trac Source Line: 1288
      	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
       *
       * @package BuddyPress Core
       * @since 1.5
       * @global $pagenow The current admin page
       */
      function bp_core_update_nag() {
      

Comments are closed.