Filter hook 'privacy_policy_url'

in WP Core File wp-includes/link-template.php at line 4709

Description

Filters the URL of the privacy policy page.

Occurrences

Filename Line Number
wp-includes/link-template.php 4709

Parameters

Type Name Description
string $url The URL to the privacy policy page. Empty string if it doesn't exist.
int $policy_page_id The ID of privacy policy page.

PHP Doc

/**
	 * Filters the URL of the privacy policy page.
	 *
	 * @since 4.9.6
	 *
	 * @param string $url            The URL to the privacy policy page. Empty string
	 *                               if it doesn't exist.
	 * @param int    $policy_page_id The ID of privacy policy page.
	 */