如果适用,显示带格式的隐私策略链接。
原型
the_privacy_policy_link( string $before = '', string $after = '' )
参数
$before
(string)
(Optional)
在隐私政策链接之前显示。
$after
(string)
(Optional)
隐私政策链接后显示。
源文件
路径:wp-includes/link-template.php
<?php
...
function the_privacy_policy_link( $before = '', $after = '' ) {
echo get_the_privacy_policy_link( $before, $after );
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/the_privacy_policy_link/