A WordPress-centric search engine for devs and theme authors



template_include ›

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

if ( $template = apply_filters( 'template_include', $template ) ) {