apply_filters( 'bp_is_action_variable', bool $is_action_variable, string $action_variable, int $position )

Filters whether the current page matches a given action_variable.

Description

Parameters

$is_action_variable

(bool) Whether the current page matches a given action_variable.

$action_variable

(string) The action_variable being tested against.

$position

(int) The array key tested against.

Source

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