get_home_template()

最后更新于:2021-11-26 09:12:46

get_home_template()

Retrieve path of home template in current or parent template.

响应

(string) Full path to home template file.

源文件

文件: gc-includes/template.php

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

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