[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-blogs/ -> bp-blogs-loader.php (source)

   1  <?php
   2  /**
   3   * BuddyPress Blogs Loader
   4   *
   5   * The blogs component tracks posts and comments to member activity streams,
   6   * shows blogs the member can post to in their profiles, and caches useful
   7   * information from those blogs to make querying blogs in bulk more performant.
   8   *
   9   * @package BuddyPress
  10   * @subpackage BlogsCore
  11   * @since 1.5.0
  12   */
  13  
  14  // Exit if accessed directly.
  15  defined( 'ABSPATH' ) || exit;
  16  
  17  /**
  18   * Set up the bp-blogs component.
  19   *
  20   * @since 1.5.0
  21   */
  22  function bp_setup_blogs() {
  23      buddypress()->blogs = new BP_Blogs_Component();
  24  }
  25  add_action( 'bp_setup_components', 'bp_setup_blogs', 6 );


Generated: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1