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



get_template › WordPress Function

Da1.5.0
Deprecaton/a
get_template ( Nessun parametro )
Ritorna:
  • (string) Template name.
Definito a:
Codex:

Retrieves name of the active theme.



Sorgenti

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