the_privacy_policy_link

函式
the_privacy_policy_link ( $before = '', $after = '' )
引數
  • (string) $before Optional. Display before privacy policy link. Default empty.
    Required:
    Default: (empty)
  • (string) $after Optional. Display after privacy policy link. Default empty.
    Required:
    Default: (empty)
定義位置
相關方法
get_the_privacy_policy_linkget_privacy_policy_urlis_privacy_policyget_privacy_policy_templatewp_add_privacy_policy_content
引入
4.9.6
棄用
-

privacy_policy_link是一個WordPress函式,它顯示指向站點隱私策略的連結。它檢索站點的隱私策略頁面並輸出相應的HTML標記。

在適用情況下,顯示帶有格式化的隱私政策連結。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function the_privacy_policy_link( $before = '', $after = '' ) {
echo get_the_privacy_policy_link( $before, $after );
}
function the_privacy_policy_link( $before = '', $after = '' ) { echo get_the_privacy_policy_link( $before, $after ); }
function the_privacy_policy_link( $before = '', $after = '' ) {
	echo get_the_privacy_policy_link( $before, $after );
}

常見問題

FAQs
檢視更多 >