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_5728', 10, 4 );
function filter_function_name_5728( $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 5.0.0 Added the $strings, $description, and $blocks parameters.

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.