get_index_template


get_index_template ( No parameters )

See:
Returns:
  • (string) Full path to index template file.
Defined at:

Description

Retrieve 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'.

Related Functions

get_single_template, get_date_template, get_page_template, get_template, get_home_template

Top Google Results

User discussions

wpseek mobile