WP_Privacy_Policy_Content::add_suggested_content()
Adds the suggested privacy policy text to the policy postbox.
Method of the class: WP_Privacy_Policy_Content{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = WP_Privacy_Policy_Content::add_suggested_content();
Changelog
Since 4.9.6 | Introduced. |
WP_Privacy_Policy_Content::add_suggested_content() WP Privacy Policy Content::add suggested content code WP 6.6.2
public static function add_suggested_content() { $content = self::get_default_content( false, false ); wp_add_privacy_policy_content( __( 'WordPress' ), $content ); }