When a plugin you rely on breaks, is abandoned or does far more than you need, an AI coding tool such as Claude Code can help you write a small one of your own that does exactly your job. The same goes for a child theme that changes a few things about your site's look. This guide takes you from a written brief to a plugin running on your live site: build it on your computer, test it on a staging copy, deploy it through Git on sPremium or as an upload on any plan, and keep it maintained afterwards.
Last reviewed: 19 October 2026, against WordPress 7.1, the current Claude Code release and WP Toolkit on Noiz hosting.
Build your own when the job is small and clearly yours: a shipping rule for your shop, a field on your booking form, a shortcode that shows your opening hours, a replacement for one function of a large plugin. Keep a maintained plugin when the job touches payments, security, user accounts or a law you must comply with, because those need someone who watches for threats every week. A plugin you build is a plugin you maintain.
The quality of the plugin depends on the brief. Write down what it must do, what it must never do, and how you will know it works. For example:
Write a WordPress plugin called "Example Delivery Days" for a WooCommerce
shop. On the checkout page, show a required field "Preferred delivery day"
with the options Tuesday and Thursday. Save the choice on the order and
show it on the admin order screen and in the order emails.
Rules: one plugin folder, main file example-delivery-days.php with a proper
plugin header including Requires at least and Requires PHP. No external
services, no tracking, no database tables of its own. Sanitise every input,
escape every output, check capabilities for anything in the admin, and use
nonces for any form you add. Follow the WordPress coding standards. Add a
readme with what it does and how to remove it. Do not edit WooCommerce or
any other plugin's files.
Done when: a test order on staging shows the chosen day in the admin and in
the customer email, and the plugin deactivates cleanly.
For a child theme, the brief names the parent theme and lists the changes: "Create a child theme of the active theme that changes the header background to our brand colour and hides the author line on posts. No edits to the parent theme."
git init.Ask the tool to explain any part you do not understand. If you cannot follow the code at all, ask for a simpler version, or ask someone who can read it to review it before it goes live.
wp-content/plugins folder, by SFTP, with the File Manager in Plesk or with Git (Step 4), or zip it and use Plugins > Add New Plugin > Upload Plugin on the staging site.Never test a new plugin on the live site first. A fatal error in a plugin can take the whole site down until the plugin is removed.
httpdocs/wp-content/plugins/example-delivery-days (your plugin's folder name in place of the example).On sPremium you can also deploy to staging first with the same steps, and copy only the plugin's files to the live site with WP Toolkit's Copy Data (Files Only).
sPremium is where this workflow works best: Git deployment, WP Toolkit staging and copy, your choice of PHP version and a dedicated PHP pool. Compare the plans. Once your plugin is live, WordPress Care keeps WordPress, its plugins and themes updated, with a restore point before each change; building and changing your own code stays with you or your developer.