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

55
56
57
58
59
60
61
62
63
64
65
66
67
68
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

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.