bp_nouveau_notifications_init_filters()
Init Notifications filters and fire a hook to let plugins/components register their filters.
Description
Source
File: bp-templates/bp-nouveau/includes/notifications/functions.php
function bp_nouveau_notifications_init_filters() {
if ( ! bp_is_user_notifications() ) {
return;
}
bp_nouveau()->notifications->filters = array();
/**
* Hook here to register your custom notification filters
*
* @since BuddyPress 3.0.0
*/
do_action( 'bp_nouveau_notifications_init_filters' );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 3.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.