the_privacy_policy_link( string $before = '', string $after = '' )
Displays the privacy policy link with formatting, when applicable.
Description Description
Parameters Parameters
- $before
-
(string) (Optional) Display before privacy policy link.
Default value: ''
- $after
-
(string) (Optional) Display after privacy policy link.
Default value: ''
Source 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 code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Sample code for theme integration, with
function_exists()
test to avoid fatal error on previous WordPress versions.HTML output example (the permalink and the anchor will be dynamically generated):