apply_filters( "bp_activity_{$amount}_", array $array , string $link , int $total_items , int $activity_id , int $user_id )
Filters the activity notification for any non-string format.
Description Description
This is a variable filter that is dependent on how many items need notified about. The two possible hooks are bp_activity_single_at_mentions_notification or bp_activity_multiple_at_mentions_notification.
Parameters Parameters
- $array
-
Array holding the content and permalink for the interaction notification.
- $link
-
The permalink for the interaction.
- $total_items
-
How many items being notified about.
- $activity_id
-
ID of the activity item being formatted.
- $user_id
-
ID of the user who inited the interaction.
Source Source
File: bp-activity/bp-activity-notifications.php
Changelog Changelog
Version | Description |
---|---|
2.6.0 | use the $action_filter as a new dynamic portion of the filter name. |
1.5.0 | Introduced. |