apply_filters( "bp_{$type}_template", string $template )

Filters the path to a template file.

Description

This is a variable filter based on the type passed into bp_get_query_template.

Parameters

$template

(string) Path to the most appropriate found template file.

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.