apply_filters( 'bp_get_template_part', array $templates, string $slug, string $name )

Filters the template parts to be loaded.

Description

Parameters

$templates

Array of templates located.

$slug

Template part slug requested.

$name

Template part name requested.

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.