1. Home
  2. Wordpress
  3. Get theme version

Get version of the theme declared in the main stylesheet document.

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