do_action( 'activity_format_notifications', string $action, int $item_id, int $secondary_item_id, int $total_items )

Fires right before returning the formatted activity notifications.

Description

Parameters

$action

The type of activity item.

$item_id

The activity ID.

$secondary_item_id

The user ID who inited the interaction.

$total_items

Total amount of items to format.

Source

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

Changelog

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