wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_current_theme › WordPress Function

Da1.5.0
Deprecato3.4.0
get_current_theme ( Nessun parametro )
Vedi:
Ritorna:
  • (string)
Definito a:
Codex:

Retrieve current theme name.



Sorgenti

function get_current_theme() {
	_deprecated_function( __FUNCTION__, '3.4.0', 'wp_get_theme()' );

	if ( $theme = get_option( 'current_theme' ) )
		return $theme;

	return wp_get_theme()->get('Name');
}