apply_filters( 'bp_default_component_subnav', string $value, array $r )

Filters the default component subnav item.

Description

Parameters

$value

The slug of the default subnav item to select when clicked.

$r

Parsed arguments for the nav item.

Source

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

Changelog

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