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.
Source
$link = apply_filters( 'the_privacy_policy_link', $link, $privacy_policy_url );
Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |
This example shows how to delete the link of privacy policy in login page.
This shows how to remove the link of privacy policy on the login page: