Filters the default content suggested for inclusion in a privacy policy.
$contentstring
$stringsstring[]
$descriptionbool
$blocksbool
return apply_filters_deprecated(
'wp_get_default_privacy_policy_content',
array( $content, $strings, $description, $blocks ),
'5.7.0',
'wp_add_privacy_policy_content()'
);
| 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. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_get_default_privacy_policy_content