49 generators · nothing behind a login

Every WordPress generator, one place.

Fill in a form, get production-ready PHP. Post types, taxonomies, queries, hooks, readme files — with live previews of what you're actually building.

post-type.php
GENERATED
// Register the "Recipe" post type
add_action( 'init', function() {
  register_post_type( 'recipe', [
    'labels'       => [
      'name'          => 'Recipes',
      'singular_name' => 'Recipe',
    ],
    'public'       => true,
    'has_archive'  => true,
    'menu_icon'    => 'dashicons-carrot',
    'supports'     => [ 'title', 'editor', 'thumbnail' ],
    'show_in_rest' => true,
  ] );
} );
01

See it before you ship it

Generators render a live preview of the result — a WordPress.org listing, an admin screen, a query result set — next to the code, so you catch mistakes here instead of in staging.

02

Editors, not just forms

Long-form fields are real editors. Drag blocks around, format text, reorder sections. The PHP or txt output regenerates as you work.

03

Output you can actually use

Copy the snippet, download a single .php file, or take a zip-ready plugin scaffold with the header, folder structure and hooks already in place.

Most useful tools

All 49 generators →
CoreReadme Studioreadme.txtDrag-and-drop editor for the plugin directory readme file, with a live listing preview.ContentPost Typeregister_post_type()Custom post types with labels, supports, rewrite rules and REST exposure.QueryWP_Querynew WP_Query()Every argument the loop accepts, with the generated loop included.ContentShortcodeadd_shortcode()Shortcodes with typed attributes, defaults and enclosing content.ContentMeta Boxadd_meta_box()Editor meta boxes with fields, nonces and sanitised save handlers.AdminSettings Pageadd_menu_page()Admin pages with tabs, sections and the Settings API already wired up.ContentTaxonomyregister_taxonomy()Hierarchical or flat taxonomies wired to any post type.CoreScripts & Styleswp_enqueue_script()Register and enqueue assets with deps, versions and conditionals.CoreREST Routeregister_rest_route()Namespaced endpoints with args schema and permission callbacks.ContentPost Metaregister_post_meta()Register typed post meta with REST support and auth callbacks.CoreCron Eventwp_schedule_event()Scheduled events with custom intervals and clean deactivation.CoreHooksadd_action() / add_filter()Correctly signed callbacks with priority and accepted args.

Browse by category

All 49 generators →

Frequently asked

Is WP CodeKit really free?

Yes — every generator is free and anonymous. There's no account, no plan and no paywall on the copy or download step.

Is the generated code production-ready?

Nonces and sanitisation are added wherever WordPress expects them, and defaults match WordPress core's own choices instead of our opinions. As with any generated code, review it before shipping.

Do I need to install a plugin to use it?

No. Everything runs in your browser — paste the generated PHP straight into your own plugin or theme.

Does WP CodeKit store or upload my code?

No. Nothing you type is sent anywhere — every generator runs entirely client-side, in your browser.

Which WordPress version does the generated code target?

Current WordPress core APIs. Where a function needs a specific minimum version — WooCommerce's Blocks Checkout API, for instance — the generator notes it.

Can I request a generator that doesn't exist yet?

Yes — use the contact form and tell us which function or workflow you keep writing by hand.

Can't find the generator you need?

Tell us which function or workflow you keep writing by hand.

Request a generator