Summery Summery

Filters the default content suggested for inclusion in a privacy policy.

Syntax Syntax

apply_filters( 'wp_get_default_privacy_policy_content', string $content, string[] $strings, bool $description, bool $blocks )

Parameters Parameters


(string) The default policy content.


(string[]) An array of privacy policy content strings.


(bool) Whether policy descriptions should be included.


(bool) Whether the content should be formatted for the block editor.

Source Source

File: wp-admin/includes/class-wp-privacy-policy-content.php


Changelog Changelog

Version Description
5.0.0 Added the $strings, $description, and $blocks parameters.
4.9.6 Introduced.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.