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

Filters the template parts to be loaded.

Parameters Parameters


(array) Array of templates located.


(string) Template part slug requested.


(string) Template part name requested.


(array) Extra args to pass to locate_template().

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
7.0.0 Added $args parameter.
1.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.