Documentation
SnipCraft docs
Everything you need to manage code snippets and modules on WordPress with SnipCraft and SnipCraft Pro.
Getting started
Getting started
Install SnipCraft, learn the admin layout, and create your first code snippet on WordPress.
SnipCraft Pro
Everything SnipCraft Pro adds: the AI assistant, advanced conditions and scheduling, performance asset files, marketing pixels and consent, multisite operations, and the full cloud platform with teams and fleet health.
Authoring
Snippet types
PHP, CSS, JavaScript and HTML snippets in SnipCraft: how each one runs, the enabled-count limits on the free edition, and SCSS in Pro.
Snippet scopes
Run snippets everywhere, on the front end only, or in the admin only, and when to choose each.
Modules
Group PHP, CSS, JavaScript and HTML into one installable module so related code installs and updates together.
One-click generators
Scaffold common WordPress snippets (redirects, custom post types and taxonomies, disable-comments, and header/footer scripts) without writing the boilerplate by hand.
Gutenberg block
Insert any snippet into a post or page with the SnipCraft block. Pick a snippet by name and it renders server-side on the front end.
AI assistant
Describe what you want in plain English and SnipCraft Pro writes the snippet (PHP, CSS, JavaScript or HTML), ready to review, edit and enable.
Folders, tags & search
Organize a growing library with folders and tags, then filter and search the snippet list to find anything fast.
Import & export
Move snippets in and out of SnipCraft as JSON, including imports from the Code Snippets and WPCode plugins, with conflict handling.
Targeting & scheduling
Safety & security
Safe mode & error protection
How SnipCraft auto-disables snippets that trigger a fatal error, and how to use safe mode to recover a site.
PHP editing & security
How SnipCraft gates PHP editing with a dedicated capability, a wp-config kill switch, and multisite and host safeguards.
Revisions
SnipCraft keeps a revision for every save, so you can review history and restore any earlier version of a snippet.
Performance
Marketing & tracking
Pixels & tracking
Add analytics and ad pixels (GA4, Google Ads, Meta, TikTok, LinkedIn, Pinterest, Snapchat, Microsoft and Reddit), and fire purchase events from WooCommerce, EDD and MemberPress.
Consent banner
Show a configurable cookie-consent banner and gate tracking pixels behind visitor consent for GDPR-friendly analytics.
Operations
Access control
Grant snippet permissions to specific WordPress roles with a capability matrix, instead of limiting SnipCraft to administrators.
Multisite & network snippets
On WordPress multisite, run snippets network-wide from the network admin, with the SnipCraft Pro license pinned to the network main site.
Site reset & snapshots
Take database snapshots and roll back, or reset site content with a keep/remove matrix, useful for testing snippets on disposable data.
Cloud
Cloud overview
What SnipCraft Cloud is: a dashboard at cloud.snipcraftpro.com to author, share and discover snippets and modules, collaborate in teams, and monitor your plugin fleet.
Cloud library
Browse and import ready-made snippets and modules from the SnipCraft cloud library. Opt-in, with free and Pro items.
Cloud account sync
Connect your SnipCraft cloud account in Pro to browse, import and auto-sync the snippets and modules you saved there.
Discover & collections
Browse the public library of approved snippets and modules, search and filter by tag and type, fork what you like, and organize your own with collections.
Cloud AI generation
Generate snippets from a prompt directly in the cloud dashboard, with a monthly usage allowance shown in your settings.
Cloud teamwork
Teams & collaboration
Create a team, invite members, and share snippets and modules with owner/editor/viewer roles and a per-team activity feed.
Comments & change requests
Discuss snippets and modules in threaded comments with @-mentions, and propose edits for review through change requests with a visual diff.
Fleet health & alerts
Monitor every site running your snippets: error trends per snippet and module, spike-detection alerts, and delivery to email or a Slack webhook.