W3cubDocs

/WordPress

WP_Privacy_Policy_Content::add_suggested_content()

Adds the suggested privacy policy text to the policy postbox.

Source

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

Changelog

Version Description
4.9.6 Introduced.

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