Show template file in footer

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 |

Build with Gatsby |

Blog |Tolka Theme