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.
Description Description
Parameters Parameters
- $action
-
The kind of notification being rendered.
- $item_id
-
The primary item ID.
- $secondary_item_id
-
The secondary item ID.
- $total_items
-
The total number of messaging-related notifications waiting for the user.
- $return
-
Notification text string or array of link and text.
Source Source
File: bp-friends/bp-friends-notifications.php
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |