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_5130', 10, 4 );
function filter_function_name_5130( $content, $strings, $description, $blocks ){
	// filter...

	return $content;
string The default policy content.
array 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.


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

Where the hook is called

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.