Adds content to the postbox shown when editing the privacy policy.
Description
Plugins and themes should suggest text for inclusion in the site's privacy policy.The suggested text should contain information about any functionality that affects user privacy, and will be shown in the Suggested Privacy Policy Content postbox. Intended for use from wp_add_privacy_policy_content().
Parameters
$plugin_namestring
The name of the plugin or theme that is suggesting content for the site's privacy policy.
$policy_textstring
The suggested content for inclusion in the policy.
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-admin/includes/class-wp-privacy-policy-content.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.