wpseek.com
A WordPress-centric search engine for devs and theme authors
get_template_part_{$slug} › WordPress Action Hooks
Since5.5.0
Deprecatedn/a
› do_action( "get_template_part_{$slug}", $slug, $name, $args )
Parameters: (3) |
|
Defined at: |
|
Codex: |
Fires before the specified template part file is loaded.
The dynamic portion of the hook name, $slug
, refers to the slug name
for the generic template part.
Related Functions: get_template_part, get_page_template_slug, get_template_directory_uri, get_template, _get_block_templates_paths, get_template_hierarchy