WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_before_load_template

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/template.php do_action 780 /**
* Fires before a template file is loaded.
*
* @since 6.1.0
*
* @param string $_template_file The full path to the template file.
* @param bool $require_once Whether to require_once or require.
* @param array $args Additional arguments passed to the template.
*/

Hook Parameters

Parameter Type Name Description
string $_template_file The full path to the template file.
bool $require_once Whether to require_once or require.
array $args Additional arguments passed to the template.