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:
定義位置
相關勾子
privacy_policy_urlthe_permalinkthe_author_posts_linktheme_action_linksthe_author_link
相關方法
the_privacy_policy_linkget_the_privacy_policy_linkget_privacy_policy_urlis_privacy_policyget_privacy_policy_templatewp_add_privacy_policy_content
引入
4.9.6
棄用
-

the_privacy_policy_link是一個模板標籤,它可以輸出到你網站的隱私政策頁面的連結。這個標籤通常用於網站的頁尾,為使用者提供一個指向隱私政策的連結。

過濾隱私政策連結。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$link = apply_filters( 'the_privacy_policy_link', $link, $privacy_policy_url );
$link = apply_filters( 'the_privacy_policy_link', $link, $privacy_policy_url );
$link = apply_filters( 'the_privacy_policy_link', $link, $privacy_policy_url );

常見問題

FAQs
檢視更多 >