Changeset 10467
- Timestamp:
- 01/25/2016 09:58:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-filters.php
r10417 r10467 344 344 * 345 345 * @since 1.6.0 346 * @since 2.5.0 Introduced `$user_id` and `$activity` parameters. 346 347 * 347 348 * @param bool $value Whether or not BuddyPress should send a notification to the mentioned users. 348 349 * @param array $usernames Array of users potentially notified. 350 * @param int $user_id ID of the current user being notified. 351 * @param BP_Activity_Activity $activity Activity object. 349 352 */ 350 if ( apply_filters( 'bp_activity_at_name_do_notifications', true, $usernames ) ) {353 if ( apply_filters( 'bp_activity_at_name_do_notifications', true, $usernames, $user_id, $activity ) ) { 351 354 bp_activity_at_message_notification( $activity->id, $user_id ); 352 355 }
Note: See TracChangeset
for help on using the changeset viewer.