Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.1

do_action('wp_before_load_template') is found 1 times:

  • /wp-includes/template.php line 780
    	 * @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.
    	do_action( 'wp_before_load_template', $_template_file, $require_once, $args );
    	if ( $require_once ) {
    		require_once $_template_file;
    	} else {
    		require $_template_file;