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.


Description Description


Parameters Parameters

$value

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

$usernames

Array of users potentially notified.

$user_id

ID of the current user being notified.

$activity

Activity object.


Top ↑

Source Source

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


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.