apply_filters( 'bp_activity_at_name_do_notifications', bool $value, array $usernames, int $user_id, BP_Activity_Activity $activity )

Filters BuddyPress’ ability to send email notifications for @mentions.


Parameters Parameters

$value

(bool) Whether or not BuddyPress should send a notification to the mentioned users.

$usernames

(array) Array of users potentially notified.

$user_id

(int) ID of the current user being notified.

$activity

(BP_Activity_Activity) Activity object.


Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced $user_id and $activity parameters.
1.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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