Description
The Code Snippets Extension add-on adds to the MainWP panel an area to create, store, and run code snippets on selected child sites, allowing you to apply PHP tweaks, theme functions, or small automations without accessing each installation separately. In the maintenance workflow of WordPress networks, this extension centralizes recurring interventions and helps administrators test, reuse, and distribute controlled snippets with less screen switching.
Key Features
- Snippet library
Stores reusable code snippets within the MainWP panel. - Execution on child sites
Applies snippets to the connected sites chosen by the administrator. - Centralized management
Organizes technical adjustments without switching between multiple WordPress panels. - PHP workflow
Allows inserting functions and small adjustments compatible with WordPress. - Selection-based control
Directs each snippet only to the sites defined in the action.
Benefits of the Code Snippets Extension
- Less repetitive work
Reduces manual access across WordPress installations managed in bulk. - Technical standardization
Helps keep the same adjustments across different network sites. - Faster maintenance
Makes targeted fixes easier without editing files via FTP. - More controlled operation
Allows applying changes only to the sites that truly need them.
Who Is It For?
- Agencies that manage multiple WordPress sites through MainWP.
- Developers who reuse small code tweaks across different clients.
- Technical administrators who need to apply snippets without accessing each site individually.
Code Snippets Extension fits into maintenance routines where small functions, fixes, and adjustments need to be replicated with criteria. The component adds a practical layer to MainWP for handling recurring code snippets, keeping operations centralized and reducing the time spent on repeated tasks within each WordPress installation.
Frequently asked questions
Is MainWP Code Snippets Extension GPL-licensed?
Yes. MainWP Code Snippets Extension is distributed under the GPL (GNU General Public License). You may legally use, modify and redistribute it on as many sites as you want.
Can I use MainWP Code Snippets Extension on multiple sites?
Yes. You can install MainWP Code Snippets Extension on as many sites as you want. Only automatic updates through Ultrapack Auto Updater have a limit: from 3 to 80 sites, depending on the plan.
How much does MainWP Code Snippets Extension cost at Ultrapack?
MainWP Code Snippets Extension costs US$3.99 as a single purchase, and it is also included in the subscription plans starting at US$8.40/mo (VIP I).
Does MainWP Code Snippets Extension include updates?
Yes. The current version of MainWP Code Snippets Extension is 5.2, published at Ultrapack on Nov 11, 2026. Subscribers update straight from the WordPress dashboard with UAU (Ultrapack Auto Updater).
Is MainWP Code Snippets Extension scanned before publication?
Yes. Every version of MainWP Code Snippets Extension goes through a malware scan (ClamAV and YARA rules, at UltraHub) before it is published.
How to install
Automatic updates: this item is updated by the Ultrapack Auto Updater. With it installed, the new version shows up in your dashboard like any other WordPress update (how to set it up).
Through the Ultrapack Auto Updater Catalog
- Install and activate Ultrapack Auto Updater on your WordPress site and connect it to your account (setup instructions).
- Open Ultrapack Auto Updater in your WordPress dashboard, go to Catalog and select Plugins.
- If this item is an add-on or requires a free version, install and activate the main plugin identified in this guide first.
- Find this item by name and click Install when that button is available. Wait for the installation to finish; the Catalog does not require you to download or extract the ZIP manually.
- For individual installations, UAU tries to activate the plugin when it finishes. If a dependency warning appears, install and activate the required main plugin, then activate the add-on under Plugins.
- Your account needs access to this item. Installing through the Catalog uses the same download quota as your account.
- If you only see Download from the website, or the item cannot be installed through the Catalog, follow the manual instructions below.
Manual installation
- Download the file
mainwp-code-snippets-extension.zip. - In the WordPress dashboard, go to Plugins > Add New > Upload Plugin.
- Select the file
mainwp-code-snippets-extension.zipand click Install Now. - Click Activate.
Stuck on a step? Open a ticket telling us which one you stopped at.
