WordPress at a glance
filter is not described

wp_get_default_privacy_policy_content filter-hook . WP 4.9.6

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

Usage

add_filter( 'wp_get_default_privacy_policy_content', 'filter_function_name_4656', 10, 4 );
function filter_function_name_4656( $content, $strings, $description, $blocks ){
	// filter...

	return $content;
}
$content($content)
string The default policy content.
$strings($strings)
array An array of privacy policy content strings.
$description($description)
bool Whether policy descriptions should be included.
$blocks($blocks)
bool Whether the content should be formatted for the block editor.

Notes

  • Since 5.0.0 Added the $strings, $description, and $blocks parameters.

Where the hook is called

WP_Privacy_Policy_Content::get_default_content()
wp-admin/includes/misc.php 1943
return apply_filters( 'wp_get_default_privacy_policy_content', $content, $strings, $description, $blocks );

Where the hook is used (in WP core)

Does not used.