messages_screen_notices()

Load the Messages > Notices screen.

Description

Return

(false|null) False on failure.

Source

File: bp-messages/screens/notices.php

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

Changelog

Changelog
Version Description
BuddyPress 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.