[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-messages/screens/ -> inbox.php (source)

   1  <?php
   2  /**
   3   * Messages: User's "Messages" screen handler.
   4   *
   5   * @package BuddyPress
   6   * @subpackage MessageScreens
   7   * @since 3.0.0
   8   */
   9  
  10  /**
  11   * Load the Messages > Inbox screen.
  12   *
  13   * @since 1.0.0
  14   */
  15  function messages_screen_inbox() {
  16  
  17      if ( bp_action_variables() ) {
  18          bp_do_404();
  19          return;
  20      }
  21  
  22      /**
  23       * Fires right before the loading of the Messages inbox screen template file.
  24       *
  25       * @since 1.0.0
  26       */
  27      do_action( 'messages_screen_inbox' );
  28  
  29      /**
  30       * Filters the template to load for the Messages inbox screen.
  31       *
  32       * @since 1.0.0
  33       *
  34       * @param string $template Path to the messages template to load.
  35       */
  36      bp_core_load_template( apply_filters( 'messages_template_inbox', 'members/single/home' ) );
  37  }


Generated: Fri Nov 22 01:00:56 2024 Cross-referenced by PHPXref 0.7.1