apply_filters( ‘privacy_policy_url’, string $url, int $policy_page_id )

In this article

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

return apply_filters( 'privacy_policy_url', $url, $policy_page_id );

Changelog

VersionDescription
4.9.6Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.