wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_current_theme › WordPress Function

Desde1.5.0
Obsoleto3.4.0
get_current_theme ( Sem parâmetros )
Ver:
Retorna:
  • (string)
Definido em:
Codex:

Retrieve current theme name.



Fonte

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');
}