WP_Privacy_Policy_Content::add_suggested_content() WordPress Method

The WP_Privacy_Policy_Content::add_suggested_content() method is used to add suggested content to a WordPress privacy policy. This content is meant to help website administrators comply with data privacy regulations, such as the General Data Protection Regulation (GDPR).

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( false, false );
		wp_add_privacy_policy_content( __( 'WordPress' ), $content );
	}


Top ↑

Changelog

Changelog
VersionDescription
4.9.6Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.