apply_filters( "bp_get_{$type}_template", array $templates )

Filters possible file paths to check for for a template.

Description

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

Parameters

$templates

(array) Array of template files already prepared.

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.