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_8304', 10, 2 );
function filter_function_name_8304( $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 4329
return apply_filters( 'privacy_policy_url', $url, $policy_page_id );

Where the hook is used (in WP core)

Использование не найдено.