template_redirect

template_redirect

Hook Type: action
See hook in action
See hook in
Displaying hooks found in version: wordpress-5.3.1

do_action('template_redirect') is found 1 times:

  • /wp-includes/template-loader.php line 13
    	 * Fires before determining which template to load.
    	 *
    	 * @since 1.5.0
    	 */
    	do_action( 'template_redirect' );
    }
    
    /**
     * Filters whether to allow 'HEAD' requests to generate content.
     *
     * Provides a significant performance bump by exiting before the page
    

See this hook used in plugins: