函数原型
get_privacy_policy_template(): string
函数描述
Retrieves path of Privacy Policy page template in current or parent template.
是否弃用
未弃用
函数参数
无
函数返回值
string Full path to privacy policy template file.
函数位置
File: wp-includes/template.php.
函数源码
function get_privacy_policy_template() {
$templates = array( 'privacy-policy.php' );
return get_query_template( 'privacypolicy', $templates );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |

