apply_filters( 'bp_activity_enable_afilter_support', bool $value )

Filters whether BuddyPress should enable afilter support.

Description

Support for basic filters in earlier BP versions is disabled by default. To enable, put add_filter( ‘bp_activity_enable_afilter_support’, ‘__return_true’ ); into bp-custom.php or your theme’s functions.php.

Parameters

$value

(bool) True if BuddyPress should enable afilter support.

Source

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

Changelog

Changelog
Version Description
BuddyPress 1.6.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.