wpseek.com
WordPress开发者和主题制作者的搜索引擎
get_template_part_{$slug} › WordPress动作钩子
Since5.5.0
已弃用n/a
› do_action( "get_template_part_{$slug}", $slug, $name, $args )
参数: (3) |
|
定义在: |
|
文档: |
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_block_templates_paths, get_template, get_template_directory_uri, get_template_directory