W3cubDocs

/WordPress

the_privacy_policy_link( string $before = , string $after = )

Displays the privacy policy link with formatting, when applicable.

Parameters

$beforestringoptional
Display before privacy policy link.

Default:''

$afterstringoptional
Display after privacy policy link.

Default:''

Source

function the_privacy_policy_link( $before = '', $after = '' ) {
	echo get_the_privacy_policy_link( $before, $after );
}

Changelog

Version Description
4.9.6 Introduced.

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