the_privacy_policy_link() WordPress Function
The Privacy Policy Link function provides a link to your site's privacy policy page. This function is useful if your site has a privacy policy page and you want to ensure that your visitors can easily find it.
the_privacy_policy_link( string $before = '', string $after = '' ) #
Displays the privacy policy link with formatting, when applicable.
Parameters
- $before
(string)(Optional) Display before privacy policy link.
Default value: ''
- $after
(string)(Optional) Display after privacy policy link.
Default value: ''
Source
File: wp-includes/link-template.php
function the_privacy_policy_link( $before = '', $after = '' ) { echo get_the_privacy_policy_link( $before, $after ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |