apply_filters( 'bp_is_active', bool $retval, string $component )

Filters whether or not a given component has been activated by the admin.

Description

Parameters

$retval

(bool) Whether or not a given component has been activated by the admin.

$component

(string) Current component being checked.

Source

File: bp-core/bp-core-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.