get_front_page_template()
get_front_page_template()
在当前模板或父模板中检索首页模板的路径。
Retrieve path of front page template in current or parent template.
说明(Description)
另见函数 get_query_template()
返回(Return)
(string)首页模板文件的完整路径。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.0.0 | wp-includes/template.php:373 | 0 | 1 function |
get_front_page_template() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_front_page_template/