wpseek.com
WordPress开发者和主题制作者的搜索引擎



template_include › WordPress过滤钩子

Since3.0.0
已弃用n/a
apply_filters( 'template_include', $template )
参数:
  • (string) $template The path of the template to include.
    Required: Yes
定义在:
文档:

Filters the path of the current template before including it.





源码

$template = apply_filters( 'template_include', $template );