apply_filters( 'bp_get_activity_show_filters_options', array $filters, string $context )

Filters the options available in the activity filter dropdown.

Description

Parameters

$filters

(array) Array of filter options for the given context, in the following format: $option_value => $option_name.

$context

(string) Context for the filter. 'activity', 'member', 'member_groups', 'group'.

Source

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

Changelog

Changelog
Version Description
BuddyPress 2.2.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.