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.
Source
File: wp-includes/link-template.php
.
View all references
$link = apply_filters( 'the_privacy_policy_link', $link, $privacy_policy_url );
Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
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: