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



wp_before_include_template › WordPress Action Hooks

Since6.9.0
Deprecatedn/a
do_action( 'wp_before_include_template', $template )
Parameters:
  • (string) $template The path of the template about to be included.
    Required: Yes
Defined at:
Codex:

Fires immediately before including the template.





Source

do_action( 'wp_before_include_template', $template );