get current template plugin wordpress code example
Example: get template name wordpress
get_page_template_slug()
if (get_page_template_slug() =='page-workflow.php' ) {
//stuff
}
get_page_template_slug()
if (get_page_template_slug() =='page-workflow.php' ) {
//stuff
}