bp_notifications_screen_unread()
Catch and route the ‘unread’ notifications screen.
Description
Source
File: bp-notifications/screens/unread.php
function bp_notifications_screen_unread() {
/**
* Fires right before the loading of the notifications unread screen template file.
*
* @since BuddyPress 1.9.0
*/
do_action( 'bp_notifications_screen_unread' );
/**
* Filters the template to load for the notifications unread screen.
*
* @since BuddyPress 1.9.0
*
* @param string $template Path to the notifications unread template to load.
*/
bp_core_load_template( apply_filters( 'bp_notifications_template_unread', 'members/single/home' ) );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.9.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.