函数原型
get_paged_template(): string
函数描述
Retrieve path of paged template in current or parent template.
是否弃用
Warning: This function has been deprecated. The paged.php template is no longer part of the theme template hierarchy instead.
函数参数
无
函数返回值
string Full path to paged template file.
函数位置
File: wp-includes/deprecated.php.
函数源码
function get_paged_template() {
_deprecated_function( __FUNCTION__, '4.7.0' );
return get_query_template( 'paged' );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 4.7.0 | The paged.php template is no longer part of the theme template hierarchy. |
| 1.5.0 | Introduced. |

