apply_filters( 'bp_activity_set_action', array $array , string $component_id , string $type , string $description , callable $format_callback , string $label , array $context )
Filters the action type being set for the current activity item.
Parameters Parameters
- $array
-
(array) Array of arguments for action type being set.
- $component_id
-
(string) ID of the current component being set.
- $type
-
(string) Action type being set.
- $description
-
(string) Action description for action being set.
- $format_callback
-
(callable) Callback for formatting the action string.
- $label
-
(string) String to describe this action in the activity stream filter dropdown.
- $context
-
(array) Activity stream contexts where the filter should appear. 'activity', 'member', 'member_groups', 'group'.
Source Source
Changelog Changelog
Version | Description |
---|---|
1.1.0 | Introduced. |