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.


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

	return $content;
The default policy content.
An array of privacy policy content strings.
Whether policy descriptions should be included.
Whether the content should be formatted for the block editor.


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

Where the hook is called

wp-admin/includes/class-wp-privacy-policy-content.php 714
return apply_filters( 'wp_get_default_privacy_policy_content', $content, $strings, $description, $blocks );

Where in WP core the hook is used WordPress

Usage not found.