apply_filters( "bp_messages_{$action}_notification", array $value, int $item_id, int $secondary_item_id, int $total_items, string $format )

Filters the custom action notification before the notification is created.

Description Description

This is a dynamic filter based on the message notification action.

Top ↑

Parameters Parameters


(array) An associative array containing the text and the link of the notification


(int) ID of the associated item.


(int) ID of the secondary associated item.


(int) Number of messages referred to by the notification.


(string) Return value format. 'string' for BuddyBar-compatible notifications; 'array' for WP Toolbar. Default: 'string'.

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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