Fires before a template file is loaded.
Parameters
$_template_file
string- The full path to the template file.
$load_once
bool- Whether to require_once or require.
$args
array- Additional arguments passed to the template.
Source
do_action( 'wp_before_load_template', $_template_file, $load_once, $args );
Changelog
Version | Description |
---|---|
6.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.