WordPress Plugin Development

How to Submit a Plugin to the WordPress.org Directory

Submit a plugin to the WordPress.org directory: guidelines to meet first, preparing readme.txt and assets, running Plugin Check, the review process and common rejection reasons, then committing and tagging releases with SVN.

Plugin submission steps from readme.txt and Plugin Check to review approval and SVN release

To publish a plugin on WordPress.org, make sure it follows the plugin guidelines (GPL-compatible, no tracking without consent, no obfuscated code, no remote code loading), write a valid readme.txt, run the Plugin Check plugin and fix its errors, then upload a zip at wordpress.org/plugins/developers/add/. A volunteer team reviews it manually; once approved you receive an SVN repository where you commit code to trunk, tag releases under tags/, and add banners and icons in assets/. Review times vary from days to weeks depending on the queue.

Step 1: Meet the guidelines

  • All code and assets GPL-compatible, including bundled libraries.
  • No phoning home or collecting data without explicit opt-in.
  • No obfuscated, minified-only or remotely loaded executable code; ship source or a link to it for built JavaScript.
  • No spammy admin notices, upsells that hijack the dashboard, or hidden links on the front end.
  • Free features must work; a plugin cannot be only a locked trial.
  • Use a unique prefix and do not use trademarks such as "WordPress" or a company name at the start of the plugin name or slug unless you own them.

Step 2: Prepare the code

  • Sanitise input, escape output, verify nonces and check capabilities everywhere. See nonces and secure plugin development.
  • Use WordPress APIs: the HTTP API instead of cURL, bundled jQuery instead of your own copy.
  • Enqueue assets properly; no inline <script src> tags.
  • Make it translation-ready with the text domain matching the slug.
  • Remove development files from the zip.

Step 3: Write readme.txt

=== Acme Events ===
Contributors: acmedev
Tags: events, calendar, tickets
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Simple event listings with tickets and reminders.

== Description ==
...
== Installation ==
...
== Frequently Asked Questions ==
...
== Changelog ==
= 1.0.0 =
* Initial release.

The short description (the line after the header) is limited to 150 characters. Use at most five tags. Validate it with the readme validator on WordPress.org.

Step 4: Run Plugin Check

Install the official Plugin Check (PCP) plugin on a test site or run wp plugin check acme-events. Fix all errors and review warnings: escaping, direct database calls, missing text domains and disallowed functions are the usual findings.

Step 5: Submit and respond to review

  1. Upload the zip from your WordPress.org account.
  2. Reviewers email you with issues. Fix every point, upload a new version through the same page and reply to the email.
  3. Once approved, you get SVN access at https://plugins.svn.wordpress.org/acme-events/.

Step 6: Release with SVN

svn checkout https://plugins.svn.wordpress.org/acme-events acme-events-svn
cd acme-events-svn
cp -R ~/build/acme-events/* trunk/
cp ~/design/banner-1544x500.png ~/design/icon-256x256.png assets/
svn add --force trunk assets
svn copy trunk tags/1.0.0
svn commit -m "Release 1.0.0"

The Stable tag in trunk/readme.txt tells WordPress.org which tag to serve. Many teams automate this with a GitHub Action that deploys tagged releases to SVN.

Common rejection reasons

  • Unescaped output and unsanitised input.
  • Calling files directly without an ABSPATH check.
  • Generic function names without prefixes.
  • Including libraries WordPress already ships.
  • Trademark issues in the name or slug.
  • External services used without being documented in the readme.

Common mistakes after approval

  • Forgetting to update Stable tag: users never get the new version.
  • Committing node_modules or tests to SVN.
  • Stale "Tested up to": after a few major releases, the directory warns users your plugin may be outdated.
  • Ignoring support forums: unanswered threads hurt ratings.

Frequently asked questions

Can I change the slug after approval?

No. Choose it carefully; reviewers may adjust it during review if you ask before approval.

Can I sell a pro version?

Yes. The free plugin can promote a pro version within the guidelines, and the pro version is delivered outside WordPress.org. See self-hosted updates.

Do I have to use SVN?

Releases go through SVN, but you can develop in Git and deploy to SVN automatically.

Conclusion

Meet the guidelines, ship a clean, secure, translatable plugin with a valid readme, pass Plugin Check, respond to review quickly and release through SVN tags. See the detailed plugin guidelines and how to use Subversion. Related: plugin basics and hooks.

Want your plugin review-ready? See our plugin development service.

Save this practical guide

Add us as a preferred Google source, or ask an AI assistant to summarize this page and link back to the original guide when it is useful.

· Tutor LMS developers

Guides written and reviewed by the TutorLMS Expert development team. Every hook, function, table and setting we mention is checked against the Tutor LMS and Tutor LMS Pro source code before it is published.

Keep reading

Need a custom Tutor LMS solution?

Tell us what you are building or what is broken. A Tutor LMS developer reads every inquiry and replies with next steps and a free estimate.

Get a free Tutor LMS consultation

Tell us what you are building or fixing. A Tutor LMS developer replies with honest advice and next steps.

  • No obligation
  • Tutor LMS and Pro specialists
  • Your details stay private

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.