WP_Privacy_Policy_Content::get_default_content

SummerySummery

Return the default suggested privacy policy content.

Syntax

WP_Privacy_Policy_Content::get_default_content( bool $description = false, bool $blocks = true )

ParametersParameters

$description

(bool) (Optional) Whether to include the descriptions under the section headings.

Default value: false

$blocks

(bool) (Optional) Whether to format the content for the block editor.

Default value: true

ReturnReturn

(string) The default policy content.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
5.0.0 Added the $blocks parameter.
4.9.6 Introduced.
Scroll to Top