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



get_template › WordPress Function

Desde1.5.0
Obsoleton/a
get_template ( Sem parâmetros )
Retorna:
  • (string) Template name.
Definido em:
Codex:

Retrieves name of the active theme.



Fonte

function get_template() {
	/**
	 * Filters the name of the active theme.
	 *
	 * @since 1.5.0
	 *
	 * @param string $template active theme's directory name.
	 */
	return apply_filters( 'template', get_option( 'template' ) );
}