[ 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   * @return false|null False on failure.
  16   */
  17  function messages_screen_notices() {
  18  
  19      if ( bp_action_variables() ) {
  20          bp_do_404();
  21          return;
  22      }
  23  
  24      /**
  25       * Fires right before the loading of the Messages notices screen template file.
  26       *
  27       * @since 1.0.0
  28       */
  29      do_action( 'messages_screen_notices' );
  30  
  31      /**
  32       * Filters the template to load for the Messages notices screen.
  33       *
  34       * @since 1.0.0
  35       *
  36       * @param string $template Path to the messages template to load.
  37       */
  38      bp_core_load_template( apply_filters( 'messages_template_notices', 'members/single/home' ) );
  39  }


Generated: Fri Dec 13 01:01:36 2019 Cross-referenced by PHPXref 0.7.1