[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BuddyPress Messages Loader.
   4   *
   5   * A private messages component, for users to send messages to each other.
   6   *
   7   * @package BuddyPress
   8   * @subpackage MessagesLoader
   9   * @since 1.5.0
  10   */
  11  
  12  // Exit if accessed directly.
  13  defined( 'ABSPATH' ) || exit;
  14  
  15  /**
  16   * Set up the bp-messages component.
  17   *
  18   * @since 1.5.0
  19   */
  20  function bp_setup_messages() {
  21      buddypress()->messages = new BP_Messages_Component();
  22  }
  23  add_action( 'bp_setup_components', 'bp_setup_messages', 6 );


Generated: Fri Jun 18 01:01:39 2021 Cross-referenced by PHPXref 0.7.1