Fires before a template file is loaded.
$_template_filestring
$load_oncebool
$argsarray
do_action( 'wp_before_load_template', $_template_file, $load_once, $args );
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_before_load_template