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



get_home_template › WordPress Function

Da1.5.0
Deprecaton/a
get_home_template ( Nessun parametro )
Vedi:
Ritorna:
  • (string) Full path to home template file.
Definito a:
Codex:

Retrieves path of home template in current or parent template.

The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'} and {@see '$type_template'} dynamic hooks, where $type is 'home'.


Sorgenti

function get_home_template() {
	$templates = array( 'home.php', 'index.php' );

	return get_query_template( 'home', $templates );
}