apply_filters( 'bp_core_get_notifications_for_user', array|bool $renderable, int $user_id, string $format )

Filters the final array of notifications to be displayed for a user.

Description

Parameters

$renderable

Array of notifications to render or false if no notifications.

$user_id

ID of the user whose notifications are being displayed.

$format

Display format requested for the notifications.

Source

File: bp-notifications/bp-notifications-functions.php

Changelog

Changelog
Version Description
BuddyPress 1.6.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.