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

$action

(string) The kind of notification being rendered.

$item_id

(int) The primary item ID.

$secondary_item_id

(int) The secondary item ID.

$total_items

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

$return

(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

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.