messages_screen_notices

Load the Messages > Notices screen.

Description

(false|null) messages_screen_notices(); 

Returns (false|null)

False on failure.


Usage

  1. if ( !function_exists( 'messages_screen_notices' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-messages/bp-messages-screens.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = messages_screen_notices(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-messages/bp-messages-screens.php  
  1. function messages_screen_notices() { 
  2.  
  3. if ( bp_action_variables() ) { 
  4. bp_do_404(); 
  5. return; 
  6.  
  7. /** 
  8. * Fires right before the loading of the Messages notices screen template file. 
  9. * @since 1.0.0 
  10. */ 
  11.  
  12. /** 
  13. * Filters the template to load for the Messages notices screen. 
  14. * @since 1.0.0 
  15. * @param string $template Path to the messages template to load. 
  16. */