W3cubDocs

/WordPress

apply_filters( ‘the_privacy_policy_link’, string $link, string $privacy_policy_url )

Filters the privacy policy link.

Parameters

$linkstring
The privacy policy link. Empty string if it doesn’t exist.
$privacy_policy_urlstring
The URL of the privacy policy. Empty string if it doesn’t exist.

Source

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

Changelog

Version Description
4.9.6 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_privacy_policy_link