apply_filters( 'bp_is_directory', bool $retval )

Filters whether or not user is on a component directory page.

Description

Parameters

$retval

Whether or not user is on a component directory page.

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.