SleekView for Code Snippets: snippet tables with scope and status
Code Snippets stores every PHP, JS, and CSS fragment in its wp_snippets table with scope, priority, tags, and active flags. SleekView turns that table into a sortable, filterable, inline-editable view inside WP Admin.
♾️ Lifetime License available
Audit every snippet, its scope, and its run cost in one table
Code Snippets keeps its data in a single dedicated table called wp_snippets. Each row stores the snippet body, scope (admin, front-end, single use, snippet-content), priority, active flag, modified timestamp, and a comma-separated tags column. The default admin list paginates 20 rows at a time and lets you filter by basic scope, but it does not surface tags as filterable, does not let you bulk reorder by priority, and does not show which snippets have errored on activation.
SleekView reads wp_snippets directly and exposes each column as first-class data. The scope, tags, priority, last modified, and active state all become sortable filters. Tags are tokenised so filtering by a tag like cleanup or customer-feature works as a stacked filter instead of a free-text search. The view also surfaces the plugin's last error message column when a snippet was deactivated because of a fatal during activation.
Inline edits to the active flag, scope, priority, and tags route through Code Snippets' own update API so the cache of compiled snippets is invalidated correctly and the activation lifecycle (with the safety net) still runs. Bulk changes (deactivate a whole tag, reassign priority across a scope) batch through the same API so nothing skips the plugin's own validation.
Workflow
From a flat snippet list to a filterable, scoped table
Pick wp_snippets
wp_snippets schema and offers name, scope, priority, tags, and the active flag as candidate columns.
Tokenise the tags
tags column into a tokenised, stackable filter so cleanup, woocommerce, and legacy each become a one-click narrow.
Save scoped views
Edit inline
Sample columns
A typical Code Snippets view
scope, tags, and priority as columns instead of a single flat list.
wp_snippets
| Name | Scope | Tags | Priority | Status | Modified |
|---|---|---|---|---|---|
| Disable Gutenberg on CPT | admin | cleanup, gutenberg | 10 | Active | Apr 22 |
| Add SVG upload support | global | media, security | 20 | Active | Mar 14 |
| Custom checkout fields | front-end | woocommerce, checkout | 15 | Paused | Apr 18 |
| Legacy fix for X plugin | global | legacy | 5 | Errored | Feb 02 |
Comparison
Default Code Snippets admin vs SleekView
Default Code Snippets admin
- Tags column is a comma-separated string with no real filter
-
priorityexists on the row but does not sort cleanly in bulk - No way to filter by snippets that failed activation
- Bulk reordering across scopes is not supported in the stock UI
- Modified timestamp is not filterable by range
SleekView
- Tags become a tokenised, stackable filter
-
Sort by
priorityacross all scopes in one view - Filter to snippets that errored on activation in one click
-
Inline toggle
activeand reassignscopein bulk - Saved views per role keep editors out of global PHP snippets
Features
What SleekView gives you for Code Snippets
Tag and scope as real filters
Stop scrolling the snippet list for the one cleanup rule you wrote in March. Stacked filters on tags and scope narrow 200 snippets to 4 in seconds.
Inline edit through the plugin API
Toggle activation, reassign scope, and rewrite tags from a single table. Writes go through Code Snippets' own update functions so the compiled cache stays valid.
Surface errored activations
When a snippet was deactivated because of a fatal, the plugin records it. SleekView turns that into a filter so you find every broken snippet in one row count.
Audience
Who uses SleekView for Code Snippets
Site builders
Audit dozens of customer-specific snippets without a search. Filter by tag = client-name to see exactly what runs for that engagement.
Security reviewers
Find every snippet that touches uploads, capabilities, or rewrites by filtering on tags and scope. Inline-pause anything that no longer needs to run.
Maintenance teams
Sort by modified date to see what changed last month. Bulk-pause legacy snippets when their target plugin is removed, without opening each row.
The bigger picture
Why snippet libraries need a real admin table
Code Snippets is the closest thing WordPress has to a built-in scripting console, and it ends up running mission-critical glue on the sites that lean on it. Twenty snippets is a maintenance afterthought; two hundred is an operations problem. The default admin handles the simple case beautifully: write a snippet, save it, activate it.
It does not help when you need to know which snippets touch checkout, which were last edited by the contractor who left in February, or which were silently deactivated because a fatal fired during activation. The data is in wp_snippets, but the interface is a flat list. SleekView pivots that table into a workable view: tags become filters, priorities sort cleanly, errored activations show up as a one-click filter, and inline edits route through the plugin's own API so nothing breaks the compiled cache.
Snippet libraries already behave like a small, custom plugin system. They deserve a table that treats them that way.
Questions
Common questions about SleekView for Code Snippets
Yes. Cloud-synced snippets are still stored locally in wp_snippets with a sync flag, and SleekView treats them as standard rows. The cloud columns (last sync, remote ID) can be added to the view to spot stale or out-of-sync snippets.
Yes. Writes go through the plugin's own activation and update API, so the compiled snippet cache invalidates on every change. The plugin's own safety net for fatals on activation continues to apply.
 Yes. Any custom columns added through the plugin's filter hooks (or extra postmeta-style storage some Pro builds use) can be added as SleekView columns. Define once, use across every saved view.
 Yes. Some Pro configurations store snippet bodies as posts of a custom type for revision history. SleekView reads both paths and presents them as one logical table with a source column when both are in use.
 
SleekView paginates against the wp_snippets primary key and uses indexed filters on scope and active. On multisite, network-wide snippets and per-site snippets each get their own saved view to keep queries fast.
Bulk changes batch through the plugin's update API in groups, and any group that fails validation is rolled back without affecting the others. SleekView records the batch result so you can see exactly which rows changed.
 
Yes. Save a view that omits the snippet body column and grants only the active flag and tag fields as editable. Support sees enough to toggle, but the code remains visible only to roles with the edit_snippets capability.
No. SleekView never touches the table structure. Import and export still flow through Code Snippets' own JSON or .code.snippets format, and SleekView views are saved as separate preferences that travel independently.
 Pricing
More than 1000+
happy customers
Explore our flexible licensing options tailored to your needs. Upgrade your license anytime to access more features, or opt for a lifetime license for ongoing value, including lifetime updates and lifetime support. Our hassle-free upgrade process ensures that our platform can grow with you, starting from whichever plan you choose.
Lifetime ♾️
Most popular
EUR
once
- Unlimited websites
- Lifetime updates
- Lifetime support
...or get the Bundle Deal
and save €250 🎁
The Bundle (unlimited sites)
Pay once, own it forever
Elevate your WordPress site with our exclusive plugin bundle that includes all of our premium plugins in one package. Enjoy lifetime updates and lifetime support. Save significantly compared to buying plugins individually.
What’s included
-
SleekAI
-
SleekByte
-
SleekMotion
-
SleekPixel
-
SleekRank
-
SleekView
€749
Continue to checkoutBrowse more
- Wpc Fly Cart
- Woocommerce Product Question
- Samcart Bridge
- Woocommerce Loyalty Program
- Woocommerce Google Analytics Pro
- Woocommerce Additional Variation Images
- Woocommerce Elavon
- Smart Coupons
- Yith Woocommerce Points And Rewards
- Edd Frontend Submissions
- Woocommerce Bulk Discounts
- Woocommerce Currency Per Product
- Shopify Bridge
- Woocommerce Conditional Shipping
- Klarna Payments