apply_filters( 'bp_notifications_get_meta', mixed $retval, int $notification_id, string $meta_key, bool $single )

Filters the metadata for a specified notification item.

Description

Parameters

$retval

(mixed) The meta values for the notification item.

$notification_id

(int) ID of the notification item.

$meta_key

(string) Meta key for the value being requested.

$single

(bool) Whether to return one matched meta key row or all.

Source

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

Changelog

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