[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

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


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