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 ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |