[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Messages: User's "Messages > Sent" screen handler.
   4   *
   5   * @package BuddyPress
   6   * @subpackage MessageScreens
   7   * @since 3.0.0
   8   */
   9  
  10  /**
  11   * Load the Messages > Sent screen.
  12   *
  13   * @since 1.0.0
  14   */
  15  function messages_screen_sentbox() {
  16  
  17      if ( bp_action_variables() ) {
  18          bp_do_404();
  19          return;
  20      }
  21  
  22      /**
  23       * Fires right before the loading of the Messages sentbox screen template file.
  24       *
  25       * @since 1.0.0
  26       */
  27      do_action( 'messages_screen_sentbox' );
  28  
  29      /**
  30       * Filters the template to load for the Messages sentbox 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_sentbox', 'members/single/home' ) );
  37  }


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