template_include

过滤钩子
apply_filters( 'template_include', $template )

在包含当前模板之前过滤其路径。

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