apply_filters( 'bp_notifications_get_all_notifications_for_user', array $notifications, int $user_id )

Filters all notifications for a user.

Description

Parameters

$notifications

(array) Array of notifications for user.

$user_id

(int) ID of the user being fetched.

Source

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

Changelog

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