do_action( 'members_format_notifications', string $action , int $item_id , int $secondary_item_id , int $total_items , array|string $return )
Fires at the end of the bp-members 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 members-related notifications waiting for the user.
- $return
-
(array|string) Notification text string or array of link and text.
Source Source
Changelog Changelog
Version | Description |
---|---|
8.0.0 | Introduced. |