W3cubDocs

/WordPress

WP_Privacy_Policy_Content::add_suggested_content()

Add the suggested privacy policy text to the policy postbox.

Source

File: wp-admin/includes/class-wp-privacy-policy-content.php

public static function add_suggested_content() {
		$content = self::get_default_content( true, false );
		wp_add_privacy_policy_content( __( 'WordPress' ), $content );
	}

Changelog

Version Description
4.9.6 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_privacy_policy_content/add_suggested_content