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



get_index_template › WordPress Function

Desde3.0.0
Obsoleton/a
get_index_template ( Sem parâmetros )
Ver:
Retorna:
  • (string) Full path to index template file.
Definido em:
Codex:

Retrieves path of index 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 'index'.


Fonte

function get_index_template() {
	return get_query_template( 'index' );
}