过滤隐私政策页面的URL。
原型
apply_filters( 'privacy_policy_url', string $url, int $policy_page_id )
参数
$url
(string)
隐私政策页面的URL。空字符串,如果它不存在。
$policy_page_id
(int)
隐私政策页面的ID。
源文件
路径:wp-includes/link-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/privacy_policy_url/