do_action( 'friends_format_notifications', string $action, int $item_id, int $secondary_item_id, int $total_items, array|string $return )

Fires at the end of the bp-friends notification format callback.

Parameters Parameters


(string) The kind of notification being rendered.


(int) The primary item ID.


(int) The secondary item ID.


(int) The total number of messaging-related notifications waiting for the user.


(array|string) Notification text string or array of link and text.

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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