On this page
apply_filters( 'privacy_policy_url', string $url, int $policy_page_id )
Filters the URL of the privacy policy page.
Parameters
$urlstring-
The URL to the privacy policy page. Empty string if it doesn't exist.
$policy_page_idint-
The ID of privacy policy page.
Source
File: wp-includes/link-template.php. View all references
return apply_filters( 'privacy_policy_url', $url, $policy_page_id );
Related
Used By
| Used By | Description |
|---|---|
| get_privacy_policy_url() wp-includes/link-template.php | Retrieves the URL to the privacy policy page. |
Changelog
| Version | Description |
|---|---|
| 4.9.6 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/privacy_policy_url