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: ''


Top ↑

Source

File: wp-includes/link-template.php

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


Top ↑

Changelog

Changelog
VersionDescription
4.9.6Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More