get_the_privacy_policy_link

SummerySummery

Returns the privacy policy link with formatting, when applicable.

Syntax

get_the_privacy_policy_link( string $before = '', string $after = '' )

ParametersParameters

$before

(string) (Optional) Display before privacy policy link.

Default value: ''

$after

(string) (Optional) Display after privacy policy link.

Default value: ''

ReturnReturn

(string) Markup for the link and surrounding elements. Empty string if it doesn't exist.

SourceSource

File: wp-includes/link-template.php


			

ChangelogChangelog

Changelog
Version Description
4.9.6 Introduced.
Scroll to Top