Core Function
View Source on Trac ↗ wp_add_privacy_policy_content()
wp_add_privacy_policy_content( mixed $plugin_name, mixed $policy_text ) Declares a helper function for adding content to the Privacy Policy Guide.
Parameters 2 required
| Name / Type | Description |
|---|---|
| string | $plugin_name The name of the plugin or theme that is suggesting content for the site's privacy policy. Required |
| $policy_text string | The suggested content for inclusion in the policy. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
4.9.6
Source File
wp-admin/includes/plugin.php
Advertisement