Stop Doing It Yourself: Building AI-Powered Admin Tools with the WordPress AI API

JuanMa Garrido

Every WordPress site owner knows the drill. You finish writing a post, and then the real work starts: pick a category, think up tags, write a meta description, check alt text, approve comments, organize taxonomies. None of it is hard — but all of it is tedious, repetitive, and easy to forget.

What if your users could describe what they want in plain language — right from the WordPress admin — and your plugin handled the rest?

In this hands-on workshop for developers with plugin development experience, you’ll learn how to combine three core pieces of the WordPress AI Building Blocks initiative to build admin-facing tools that automate everyday content workflows:

  • Custom Abilities — You’ll use the Abilities API to define your own discoverable WordPress capabilities: creating posts with metadata, setting up taxonomy structures, moderating comments, auditing media, and more. These are the building blocks that tell WordPress — and AI — what your site can do.
  • Connectors — You’ll use the Connectors settings screen in WP Admin to configure API credentials for providers like OpenAI, Anthropic, and Google. No hardcoded keys, no per-plugin configuration — just a centralized UI that securely manages credentials for every plugin on the site.
  • The JavaScript AI Client — You’ll use the JavaScript AI Client to interact with the WordPress AI API directly from the admin. Using the built-in prompt builder, you’ll send prompts, receive structured responses, and trigger your custom Abilities — all from a browser-based admin interface.

By the end, you’ll have the foundation and patterns to build solutions for the kinds of workflows your users deal with every day, such as:

  • I just finished this post — publish it as a draft, categorize it as ‘Travel,’ add relevant tags, and write me a meta description under 160 characters.
  • Set up a ‘Recipes’ category with subcategories for Breakfast, Lunch, Dinner, and Desserts.
  • Find a testimonials pattern in my theme and add it to my About page as a draft.
  • Approve all pending comments on my latest post and reply to the one asking about pricing.
  • Find all images missing alt text and suggest some based on the filename.

This workshop is designed for WordPress plugin developers. You should be comfortable building plugins, working with the REST API, and writing JavaScript for the admin. No prior AI or machine learning experience is needed — we’ll cover everything you need to know about the AI APIs as we go.

What you’ll walk away with:

  • A working admin-facing plugin you can extend for your own projects
  • Hands-on experience creating custom Abilities, configuring Connectors, and using the JavaScript AI Client
  • Patterns for single-shot AI actions and multi-step workflows triggered from the admin
  • The tools to turn any repetitive WordPress workflow into a plain-language AI-powered feature
  • A clear understanding of how the AI Building Blocks fit together and where the project is headed

Categorias:

Tracks: