apply_filters( 'bp_get_activity_show_filters', string $output, array $filters, string $context )

Filters the HTML markup result for the activity filter dropdown.

Description

Parameters

$output

(string) HTML output for the activity filter dropdown.

$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.1.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.