do_action( "get_template_part_{$slug}", string $slug, string $name, array $args )

Fires at the start of bp_get_template_part().


Description Description

This is a variable hook that is dependent on the slug passed in.


Parameters Parameters

$slug

Template part slug requested.

$name

Template part name requested.

$args

Extra args to pass to locate_template().


Top ↑

Source Source

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


Top ↑

Changelog 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.