apply_filters( 'bp_locate_template_and_load', bool $value )

Filter here to allow/disallow template loading.

Description

Parameters

$value

True to load the template, false otherwise.

Source

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

Changelog

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