get_the_privacy_policy_link()
get_the_privacy_policy_link( string $before = ”, string $after = ” )
如果适用,返回带有格式的隐私策略链接。
Returns the privacy policy link with formatting, when applicable.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$before | (string) | 可选 | 在隐私策略链接之前显示。 |
$after | (string) | 可选 | 在隐私策略链接后显示。 |
返回(Return)
(string)链接和周围元素的标记。如果不存在空string。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.9.6 | wp-includes/link-template.php:4440 | 1 function | 7 |
get_the_privacy_policy_link() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_the_privacy_policy_link/