[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BuddyPress Friends Streams Loader.
   4   *
   5   * The friends component is for users to create relationships with each other.
   6   *
   7   * @package BuddyPress
   8   * @subpackage FriendsLoader
   9   * @since 1.5.0
  10   */
  11  
  12  // Exit if accessed directly.
  13  defined( 'ABSPATH' ) || exit;
  14  
  15  /**
  16   * Set up the bp-friends component.
  17   *
  18   * @since 1.6.0
  19   */
  20  function bp_setup_friends() {
  21      buddypress()->friends = new BP_Friends_Component();
  22  }
  23  add_action( 'bp_setup_components', 'bp_setup_friends', 6 );


Generated: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1