WordPress at a glance
filter is not described

privacy_policy_url filter-hook . WP 4.9.6

Filters the URL of the privacy policy page.


add_filter( 'privacy_policy_url', 'filter_function_name_5094', 10, 2 );
function filter_function_name_5094( $url, $policy_page_id ){
	// filter...

	return $url;
The URL to the privacy policy page. Empty string if it doesn't exist.
The ID of privacy policy page.

Where the hook is called

wp-includes/link-template.php 4327
return apply_filters( 'privacy_policy_url', $url, $policy_page_id );

Where the hook is used (in WP core)

Does not used.