apply_filters( "bp_members_{$amount}_", string|array $value , int $total_items , int $item_id , int $secondary_item_id )
Filters the format of members notifications based on type and amount * of notifications pending.
Description Description
This is a variable filter that has several versions. The possible versions are:
- bp_members_single_accepted_invitation_notification
- bp_members_multiple_accepted_invitation_notification
Parameters Parameters
- $value
-
Depending on format, an HTML link to new requests profile tab or array with link and text.
- $total_items
-
The total number of messaging-related notifications waiting for the user.
- $item_id
-
The primary item ID.
- $secondary_item_id
-
The secondary item ID.
Source Source
File: bp-members/bp-members-notifications.php
Changelog Changelog
Version | Description |
---|---|
8.0.0 | Introduced. |