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.
Parameters Parameters
- $action
-
(string) The type of activity item.
- $item_id
-
(int) The activity ID.
- $secondary_item_id
-
(int) The user ID who inited the interaction.
- $total_items
-
(int) Total amount of items to format.
Source Source
Changelog Changelog
Version | Description |
---|---|
1.2.0 | Introduced. |