bp_get_root_blog_id

  • apply_filters( 'bp_get_root_blog_id', (int) $root_blog_id )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-functions.php :: Trac Source Line: 1159
      		}
      
      		define( 'BP_ROOT_BLOG', $root_blog_id );
      
      	// Root blog is defined
      	} else {
      		$root_blog_id = BP_ROOT_BLOG;
      	}
      
      	return apply_filters( 'bp_get_root_blog_id', (int) $root_blog_id );
      }
      
      /**
       * Get the meta_key for a given piece of user metadata
       *
       * BuddyPress stores a number of pieces of userdata in the WordPress central usermeta table. In
       * order to allow plugins to enable multiple instances of BuddyPress on a single WP installation,
       * BP's usermeta keys are filtered with this function, so that they can be altered on the fly.
       *
       * Plugin authors should use BP's _user_meta() functions, which bakes in bp_get_user_meta_key().
      

Comments are closed.