[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BuddyPress Activity Streams Loader.
   4   *
   5   * An activity stream component, for users, groups, and site tracking.
   6   *
   7   * @package BuddyPress
   8   * @subpackage ActivityCore
   9   * @since 1.5.0
  10   */
  11  
  12  // Exit if accessed directly.
  13  defined( 'ABSPATH' ) || exit;
  14  
  15  /**
  16   * Set up the bp-activity component.
  17   *
  18   * @since 1.6.0
  19   */
  20  function bp_setup_activity() {
  21      buddypress()->activity = new BP_Activity_Component();
  22  }
  23  add_action( 'bp_setup_components', 'bp_setup_activity', 6 );


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