MainWP Code Snippets

MainWP Code Snippets lets you create, manage, and deploy custom PHP, CSS, and JavaScript snippets to multiple WordPress child sites from your MainWP Dashboard.

Version5.1.1
Last UpdatedJune 18, 2026
TypeWordPress Plugin
LicenseGPL v2 or later
Live DemoView demo →

Or join VIP and download this plus every other theme & plugin for free.

Already a member? Log in

100% GPL · Original files · Unlimited sites

  • Original, unmodified files — delivered exactly as distributed by the developer
  • GPL licensed — use it on unlimited websites, personal or client
  • Free updates — new versions appear here as soon as they are released
  • Verified downloads — every file is integrity-checked (SHA-256) before release

Distributed under the GNU General Public License. Not affiliated with the original developer; official support, license keys and developer-hosted services (such as one-click updates) are available only from the developer.

Secure checkout with PayPal · GPL licensed · Instant download

Description

MainWP Code Snippets is a WordPress plugin that centralizes code snippet management across multiple sites from a single MainWP Dashboard. You can add, manage, and execute snippets on child sites, retrieve information from them, or modify their wp-config.php file. Snippets can be saved and reused, and run on several sites at once.

Key Features

  • Centralized snippet management – Create, manage, and execute code snippets from one place instead of switching between individual sites.
  • Execute on child sites – Run snippets on child sites as if the code were added directly to their functions.php file.
  • Modify wp-config.php – Add snippets that change the wp-config.php file of your child sites to control WordPress settings and configurations.
  • Save and reuse snippets – Store your most-used snippets so you can apply them again whenever needed.
  • Run on multiple sites – Apply the same snippet to several child sites at the same time to streamline maintenance.
  • Retrieve site information – Use snippets to pull information back from your child sites.

Who Is It For

This extension is aimed at WordPress developers and agencies who manage multiple WordPress installations through a MainWP Dashboard and want to handle code snippets across those sites from one place.