WordPress.org Plugin Directory · Platform guide

Privacy policy for WordPress plugin developers

If you publish a plugin on WordPress.org, Guideline 7 says plugins may not track users without their consent, so any usage tracking or phoning home must be opt-in. WordPress also lets your plugin suggest privacy policy text to site owners with wp_add_privacy_policy_content. If your plugin sends data to your own service, publish a privacy policy for it.

§ 1

What WordPress.org Plugin Directory requires

Detailed Plugin Guidelines — Guideline 7

“Plugins may not track users without their consent.”

Source: developer.wordpress.org verified 2026-10-30

1.1Suggest text for the site’s policy. WordPress’s Plugin Handbook: this “is best done with wp_add_privacy_policy_content( $plugin_name, $policy_text )” so site administrators can pull it into their own privacy policy. Source: developer.wordpress.org
1.2Answer the default questions. The handbook says the suggested text should address the questions in the default privacy policy, starting with “What personal data we collect and why we collect it”. Source: developer.wordpress.org
§ 2

What common SDKs collect

SDK / APIData it collectsSource
Typical plugin data flows
  • Site URL and WordPress/PHP versions (usage tracking, opt-in only)
  • Form submissions sent to a third-party API
  • License keys and admin email for updates
Source: developer.wordpress.org

Everything in this table must appear in your policy if the SDK ships in your build.

§ 3

Where to put the URL

  1. 3.1Your plugin’s own site: a privacy policy covering any data your servers receive.
  2. 3.2Inside the plugin: register suggested text with wp_add_privacy_policy_content on admin_init.
  3. 3.3readme.txt: say what is sent externally and link the policy.

Source: developer.wordpress.org

§ 4

Sample clause

§ 4.1 · Usage data (opt-in)

If you choose Allow usage tracking in the plugin settings, the plugin sends your site URL, WordPress version, PHP version and active theme to our server once a week. Nothing is sent unless you opt in, and you can turn it off at any time.

Illustrative wording. Your generated policy is written from your own answers.
§ 5

Questions

Can my WordPress plugin collect usage data?
Only with the user’s consent. Guideline 7 forbids tracking users without consent, so make it opt-in and disclose it.
Is this for site owners who want a privacy policy plugin?
No. This page is for plugin authors. Site owners can still generate a website policy with PrivacyPage.