You decide which snippets go into the Scripts Organizer library for one-click import. Every snippet below is tested and ready; it moves into the library when it collects 10 votes. One vote per snippet per person.
10 snippets up for a vote.
Add Tailwind v4 to a WordPress Block Theme Without a Plugin
Integrate Tailwind v4 with a WordPress block theme without a plugin: theme.json colors as Tailwind classes, scanned templates, styles in the editor.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
1 of 10 votes
WordPress Clear Transients With One Admin Bar Button
Clear all WordPress transients from the admin bar with one click: nonce-checked, admin-only, safe with or without a persistent object cache.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
WP CLI List Cron Jobs in WordPress With Overdue Events
A WP-CLI command that lists WordPress cron jobs and flags overdue events and hooks with no callback. Add –strict and it can fail a deploy check.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
WordPress Nonce Lifetime: Change Expiration per Action
Change the WordPress nonce lifetime for individual actions: shorter for risky admin actions, longer for cached front-end forms, without touching the rest.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
WordPress REST API Restricted to Authenticated Users
Restrict the WordPress REST API to logged-in users with one filter. Keep an allowlist of public routes such as oEmbed or the WooCommerce Store API.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
Show WordPress Navigation Sub-Menus Expanded by Default
Show WordPress Navigation block sub-menus expanded by default on desktop with one block style, no JavaScript. Pick it in the editor's Styles panel.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
Change the Billing Field Title in WooCommerce Checkout
Rename WooCommerce billing field labels in WordPress on checkout and My Account so they stay renamed after AJAX updates and country changes.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
PHP Enum tryFrom Example: Validate WordPress Settings
A PHP 8.1 backed enum with tryFrom() that validates a WordPress select setting, labels its options and gives the rest of your plugin typed values.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
Build Gutenberg Block Styles for WordPress Headings
Register and style your own Gutenberg block styles for the WordPress Heading block, so editors get extra headline looks in the Styles panel.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
WP CLI List Admin Users, Including Hidden Admins
A custom WP-CLI command that reads every admin account straight from the database and flags admins hidden from the Users screen.
Snippet poll. Should this snippet be in the Scripts Organizer library for one-click import? 10 votes put it there.
0 of 10 votes
