Un motore di ricerca WordPress per sviluppatori e autori di temi



get_front_page_template ›

Da3.0.0
Deprecaton/a
get_front_page_template ( Nessun parametro )
Vedi:
Ritorna:
  • (string) Full path to front page template file.
Definito a:
Codex:

Retrieve path of front page 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 'frontpage'.



Sorgenti

function get_front_page_template() {
	$templates = array( 'front-page.php' );

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