Show template file in footer

2021-04-29

Show template in footer

Template Hierarchy @ WORDPRESS HANDBOOK

 
function show_template() {
    if( is_super_admin() ){
        global $template;
        print_r($template);
    }
}
add_action('wp_footer', 'show_template');

Home|Blog|Tolka WP Theme|Tolka Gatsby Starter|Nuxt demo|

Built with Gatsby