get_tag_template()
get_tag_template()
检索当前模板或父模板中标记模板的路径。
Retrieve path of tag template in current or parent template.
说明(Description)
另见函数 get_query_template()
返回(Return)
(string)标记模板文件的完整路径。
源码(Source)
get_tag_template() 函数的代码位于 wp-includes/theme.php.
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.7.0 | wp-includes/template.php:260 | 0 | 2 |
get_tag_template() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_tag_template/