apply_filters( "bp_xprofile_{$action}_notification", string $notification, int $item_id, int $secondary_item_id, int $total_items, string $format )

Allows plugins to filter extended profile-related custom notifications.

Description Description

Notifications must have a ‘component_name’ of ‘xprofile’ to be routed to this function.

Top ↑

Parameters Parameters


(string) Null value.


(int) The primary item ID.


(int) The secondary item ID.


(int) The total number of messaging-related notifications waiting for the user.


(string) 'string' for BuddyBar-compatible notifications; 'array' for WP Toolbar.

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
2.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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