Answers for "all page template get name in wordpress"

PHP
1

get template name wordpress

get_page_template_slug()

if (get_page_template_slug() =='page-workflow.php' ) {
  //stuff
}
Posted by: Guest on April-15-2020

Code answers related to "all page template get name in wordpress"

Browse Popular Code Answers by Language