apply_filters( 'privacy_policy_url', string $url, int $policy_page_id )

Filters the URL of the privacy policy page.


Parameters

$url

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

$policy_page_id

(int) The ID of privacy policy page.


Source

File: wp-includes/link-template.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.9.6 Introduced.