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
-
(string) Template part slug requested.
- $name
-
(string) Template part name requested.
- $args
-
(array) Extra args to pass to locate_template().
Source Source
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Added $args parameter. |
1.7.0 | Introduced. |