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



wp_before_include_template › WordPress动作钩子

Since6.9.0
已弃用n/a
› do_action( 'wp_before_include_template', $template )
参数:
  • () template The path of the template about to be included.
    Required: Yes
定义在:
文档:

Fires immediately before including the template.





源码

do_action( 'wp_before_include_template', $template );