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
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
- $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
Changelog
Version | Description |
---|---|
BuddyPress 2.6.0 use the $action_filter as a new dynamic portion of the filter name. | BuddyPress 2.6.0 use the $action_filter as a new dynamic portion of the filter name. |
BuddyPress 1.5.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.