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 );
}

Changelog

Version Description
4.9.6 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_privacy_policy_link