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.

Top ↑

Parameters Parameters


(array) Array holding the content and permalink for the interaction notification.


(string) The permalink for the interaction.


(int) How many items being notified about.


(int) ID of the activity item being formatted.


(int) ID of the user who inited the interaction.

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
2.6.0 use the $action_filter as a new dynamic portion of the filter name.
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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