apply_filters( 'bp_current_component', string|bool $current_component )

Filters the name of the current component.

Description

Parameters

$current_component

Current component if available or false.

Source

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

Changelog

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