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

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.

Source

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

Changelog

Changelog
Version Description
BuddyPress 1.6.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.