get_singular_template()
最后更新于:2021-11-27 00:15:59
get_singular_template()Retrieves the path of the singular template in current or parent template.
响应
(string) Full path to singular template file
源文件
文件: gc-includes/template.php
function get_singular_template() {
return get_query_template( 'singular' );
}