apply_filters( 'bp_get_root_template', bool $value, string $template )

Filters whether or not to override the template being loaded in parent/child themes.

Description

Parameters

$value

(bool) Whether or not there is a file override. Default false.

$template

(string) The path to the template file that is being used.

Source

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

Changelog

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