wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



get_template › WordPress Function

Od1.5.0
Przestarzałyn/a
get_template ( Brak parametrów )
Powrót:
  • (string) Template name.
Zdefiniowane na:
Codex:

Retrieves name of the active theme.



Źródło

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