wpseek.com
A WordPress-centric search engine for devs and theme authors



template_include › WordPress Filter Hooks

Since3.0.0
Deprecatedn/a
apply_filters( 'template_include', $template )
Parameters:
  • (string) $template The path of the template to include.
    Required: Yes
Defined at:
Codex:

Filters the path of the current template before including it.





Source

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