the_privacy_policy_link

过滤钩子


apply_filters( 'the_privacy_policy_link', $link, $privacy_policy_url )
参数
  • (string)
    $link
    The privacy policy link. Empty string if it
    doesn’t exist.
    Required:
  • (string)
    $privacy_policy_url
    The URL of the privacy policy. Empty string
    if it doesn’t exist.
    Required:
定义位置
  • wp-includes/link-template.php
    , line 4641
引入
4.9.6
弃用

Filters the privacy policy link.

$link = apply_filters( 'the_privacy_policy_link', $link, $privacy_policy_url );