WordPress at Your Fingertips
filter is not described

wp_get_default_privacy_policy_content filter-hook . WP 4.9.6

Deprecated from version 5.7.0. It is no longer supported and can be removed in future releases. Use wp_add_privacy_policy_content() instead.

Deprecated: 5.7.0 Use wp_add_privacy_policy_content() instead.

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


add_filter( 'wp_get_default_privacy_policy_content', 'filter_function_name_7523', 10, 3 );
function filter_function_name_7523( $content, $strings, $description ){
	// filter...

	return $content;
The default policy content.
An array of privacy policy content strings.
Whether policy descriptions should be included.


Since 5.0.0 Added the $strings, $description, and $blocks parameters.
Deprecated Since 5.7.0 Use wp_add_privacy_policy_content() instead.

Where the hook is called

wp-admin/includes/class-wp-privacy-policy-content.php 679-684
return apply_filters_deprecated(
	array( $content, $strings, $description, $blocks ),

Where in WP core the hook is used WordPress

Usage not found.