1. Home
  2. Wordpress
  3. Get theme template

Get template name declared in the main stylesheet document.

#wordpress#php
wp_get_theme()->get( 'Template' );
copy
Full Wordpress cheatsheet