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 of arguments for action type being set.


(string) ID of the current component being set.


(string) Action type being set.


(string) Action description for action being set.


(callable) Callback for formatting the action string.


(string) String to describe this action in the activity stream filter dropdown.


(array) Activity stream contexts where the filter should appear. 'activity', 'member', 'member_groups', 'group'.

Source Source

File: bp-activity/bp-activity-functions.php

View on Trac

Top ↑

Changelog Changelog

Version Description
1.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.