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



wp_before_load_template › WordPress Action Hooks

Since6.1.0
Deprecatedn/a
do_action( 'wp_before_load_template', $_template_file, $load_once, $args )
Parameters: (3)
  • (string) $_template_file The full path to the template file.
    Required: Yes
  • (bool) $load_once Whether to require_once or require.
    Required: Yes
  • (array) $args Additional arguments passed to the template.
    Required: Yes
Defined at:
Codex:

Fires before a template file is loaded.





Source

do_action( 'wp_before_load_template', $_template_file, $load_once, $args );