the_privacy_policy_link WordPress Filter Hook

The privacy policy link is a great way to let your users know that you respect their privacy and that you have a detailed policy in place regarding the collection and use of their personal data. This hook allows you to easily add a link to your privacy policy in the footer of your Wordpress site.

apply_filters( 'the_privacy_policy_link', string $link, string $privacy_policy_url ) #

Filters the privacy policy link.


Parameters

$link

(string)The privacy policy link. Empty string if it doesn't exist.

$privacy_policy_url

(string)The URL of the privacy policy. Empty string if it doesn't exist.


Top ↑

Source

File: wp-includes/link-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.9.6Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More