bp_notifications_screen_unread()
Catch and route the ‘unread’ notifications screen.
Description Description
Source 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 1.9.0
*/
do_action( 'bp_notifications_screen_unread' );
/**
* Filters the template to load for the notifications unread screen.
*
* @since 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 Changelog
| Version | Description |
|---|---|
| 1.9.0 | Introduced. |