Filters the default content suggested for inclusion in a privacy policy.
Parameters
$contentstring- The default policy content.
$stringsstring[]- An array of privacy policy content strings.
$descriptionbool- Whether policy descriptions should be included.
$blocksbool- Whether the content should be formatted for the block editor.
Source
return apply_filters_deprecated(
'wp_get_default_privacy_policy_content',
array( $content, $strings, $description, $blocks ),
'5.7.0',
'wp_add_privacy_policy_content()'
);
Changelog
| Version | Description |
|---|---|
| 5.7.0 | Use wp_add_privacy_policy_content() instead. |
| 5.0.0 | Added the $strings, $description, and $blocks parameters. |
| 4.9.6 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.