bp_nouveau_notifications_init_filters()

Init Notifications filters and fire a hook to let plugins/components register their filters.


Source 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 3.0.0
	 */
	do_action( 'bp_nouveau_notifications_init_filters' );
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.