WordPress Plugin Development With AI
Build Real Plugins Using AI as Your Co-Developer
AI has fundamentally changed how developers write code. The developers who are thriving in 2025 are not those who memorised the most functions — they are those who know how to use AI tools effectively to research, scaffold, debug, and ship production-quality code faster than was previously possible.
This cohort course teaches WordPress plugin development the way it's actually practised at the frontier: with AI as an active co-developer, not a last resort. Over eight live sessions you'll build real, functional WordPress plugins from scratch — using Claude and GitHub Copilot throughout — covering plugin architecture, the WordPress hook system, custom post types, REST API endpoints, admin settings pages, security hardening, and submission to the WordPress.org plugin directory.
Taught by Brela's technical team — WordPress.org contributors and organisers of WordCamp Port Harcourt — who use these tools professionally every day.
Join the Waitlist
This course runs in cohorts. Join the waitlist and you’ll be the first to know when the next cohort opens — plus priority booking and early-bird pricing.
Who this course is for
This course is for you if…
- • You can write PHP and want to learn WordPress plugin development properly
- • You're a web developer who builds WordPress sites and wants to extend them with custom functionality
- • You want to build plugins for clients or for the WordPress.org plugin directory
- • You're already using AI coding tools casually and want a structured approach to using them in real projects
- • You're a Brela client or partner developer wanting to build custom WordPress plugins professionally
This course is NOT for you if…
- • You're a complete beginner to programming — do WordPress Fundamentals first, then consider a PHP course before returning here
- • You're looking for a WordPress theme development course (theme development is not covered here)
- • You want a pure AI/ML course with no WordPress focus
- • You already build plugins professionally and are looking for advanced topics like Gutenberg block development or headless WordPress
What you'll be able to do
- Structure a WordPress plugin correctly from scratch, following WordPress.org coding standards
- Use WordPress actions and filters confidently to hook into any part of WordPress
- Register and manage custom post types and custom taxonomies
- Build REST API endpoints that serve and receive data from external applications
- Create admin settings pages using the WordPress Settings API
- Integrate a plugin with WooCommerce and extend its functionality
- Use Claude and GitHub Copilot effectively to write, debug, and refactor plugin code
- Sanitise, validate, and escape data correctly to build secure plugins
- Write a readme.txt and submit a plugin to the WordPress.org directory
Course curriculum
- • How WordPress plugins work: file structure, headers, and activation hooks
- • The difference between functions.php hacks and proper plugin architecture
- • Setting up your development environment: Local by Flywheel, VS Code, GitHub, and PHP debugging
- • Setting up GitHub Copilot and Claude for WordPress development
- • WordPress coding standards: naming conventions, code style, and documentation
- • Your first plugin: a working plugin that hooks into WordPress and does something real
- • Using Claude to scaffold a plugin from a plain-English description of what it should do
Exercise: Build and activate your first plugin using AI-assisted scaffolding
- • The difference between actions and filters — and when to use each
- • add_action() and add_filter(): syntax, priority, and accepted arguments
- • The most important WordPress hooks and what each one fires on
- • Hook discovery: using Query Monitor and Claude to find the right hook for any task
- • Removing and replacing other plugins' hooks
- • Building a feature using only hooks — no template overrides
- • Using AI to explain unfamiliar hooks and find the right one for your use case
Exercise: Build a plugin that modifies WordPress behaviour using at least five different hooks
- • What custom post types are and when to use them vs regular posts or pages
- • Registering a custom post type with register_post_type()
- • Labels, capabilities, supports, and rewrite arguments explained
- • Custom taxonomies: hierarchical (like categories) and non-hierarchical (like tags)
- • Meta boxes: adding custom fields to your CPT edit screen
- • Saving and retrieving custom field data securely with update_post_meta()
- • Using Claude to generate complete CPT registration code from a functional description
- • Querying CPTs with WP_Query: arguments, loops, and performance
Exercise: Register a fully functional CPT with a custom taxonomy and meta box fields
- • What the WordPress REST API is and why it matters for modern development
- • The existing REST API endpoints: posts, pages, users, media, and custom
- • Registering a custom REST API endpoint with register_rest_route()
- • Request and response objects: reading parameters and returning JSON
- • Authentication for REST API endpoints: nonces, application passwords, and JWT
- • Permissions callbacks: controlling who can access your endpoint
- • Using Claude to generate REST API endpoint code and write request validation logic
- • Testing your endpoints with Postman and the browser
Exercise: Build a custom REST API endpoint that reads and writes data for your plugin
- • When to use the WordPress Settings API vs a custom admin page
- • Registering settings with register_setting(), add_settings_section(), and add_settings_field()
- • Building a clean, standards-compliant settings page
- • Options API: get_option(), update_option(), delete_option() — and when to use each
- • Settings validation and sanitisation callbacks
- • Building a tabbed settings page for complex plugins
- • Using Claude to generate Settings API code from a list of settings requirements
- • Storing and retrieving settings data correctly for multisite compatibility
Exercise: Build a complete settings page with at least four configurable options
- • Why plugin security matters: the most common WordPress vulnerabilities are in plugins
- • Nonces: what they are, how to generate them, and how to verify them
- • Sanitisation: escaping input with sanitize_text_field(), absint(), sanitize_email(), and others
- • Escaping output: esc_html(), esc_attr(), esc_url(), esc_js() — always escape on output
- • SQL injection prevention: $wpdb->prepare() and why you must use it for custom queries
- • Capability checks: always verify the current user can do what they're trying to do
- • File inclusion vulnerabilities and how to prevent them
- • Using Claude to review plugin code for security vulnerabilities and suggest fixes
Exercise: Security audit your plugin from Sessions 1–5 and fix every identified issue
- • The WooCommerce plugin architecture and how it extends WordPress
- • WooCommerce hooks: actions and filters unique to WooCommerce
- • Adding custom fields to products: product meta boxes and variation attributes
- • Hooking into the WooCommerce checkout: adding fields, validating them, and saving data
- • Programmatically creating and modifying orders
- • WooCommerce REST API: reading and writing products, orders, and customers
- • Using Claude to navigate the WooCommerce codebase and find the right hooks
Exercise: Build a WooCommerce extension that adds a custom feature to the checkout or product page
- • Why untested plugins cause real problems and how to prevent them
- • Manual testing checklists for WordPress plugins
- • Introduction to PHPUnit for WordPress — writing your first unit test
- • Writing a plugin readme.txt: the exact format WordPress.org requires
- • Plugin headers, version numbers, and changelog best practices
- • The WordPress.org plugin submission process: what reviewers check and common rejection reasons
- • Using Claude to write plugin documentation, readme content, and inline code comments
- • Packaging your plugin for distribution: zip structure and file organisation
- • Live code review: every participant presents their plugin for group feedback
- • Course close: certificate, next steps, and the Brela developer community
Requirements
- You must be comfortable writing PHP
- Familiarity with HTML, CSS, and basic JavaScript is assumed
- No prior WordPress development experience required, but you should understand functions, arrays, and loops
Course summary
- Cohort-based — 8 live sessions over 8 weeks (Zoom)
- 8 weeks · approximately 3 hours per live session
- Maximum 12 participants (small group for intensive code review)
- Yes — Brela Certificate of Completion
- Live Q&A + code review in every session · WhatsApp group throughout
- Live on Zoom · recordings, code, and materials via Selar and GitHub
The AI-assisted development workflow
Scaffolding new plugins
Describe what the plugin should do in plain English. Use Claude to generate the initial file structure, plugin header, and activation hook.
Finding the right hook
Not sure which action or filter to use? Ask Claude. It knows the WordPress hook system better than most developers.
Writing boilerplate code
Settings API forms, REST API endpoints, and meta box callbacks have predictable patterns. Use Copilot to write the boilerplate; focus your attention on the logic.
Debugging
Paste the error message and the relevant code into Claude. Explain what you expected vs what happened. Claude will identify most bugs faster than Stack Overflow.
Security review
After writing a feature, ask Claude to review it for the most common WordPress security vulnerabilities. Use this as a checklist before every commit.
Documentation
Use Claude to write inline docblocks, readme content, and changelog entries. Documentation that used to take an hour now takes minutes.
What's included
Course materials
- • 8 live Zoom sessions (3 hrs each)
- • Session recordings within 24 hrs
- • Starter plugin boilerplate repository (GitHub)
- • Session code examples
- • AI prompt library for WordPress development
- • Security checklist
- • WordPress.org submission checklist
- • Lifetime access
Support
- • Live Q&A and code review in every session
- • WhatsApp group for the 8-week cohort + 30 days after
- • Code review on your plugin between sessions
- • Peer learning with max 12 participants
After completion
- • Brela Certificate of Completion
- • Suitable for LinkedIn and developer portfolios
- • Access to the Brela developer alumni community
- • Plugin listed on your Brela graduate profile (optional)
Pricing
Need training for a team of 5 or more? See our corporate training programme.
Join the Waitlist
This course runs in cohorts. Join the waitlist and you’ll be the first to know when the next cohort opens — plus priority booking and early-bird pricing.
WordPress Plugin Development With AI — common questions
Ready to join the waitlist?
Join the waitlist and we'll notify you the moment the next cohort opens, plus priority booking and early-bird pricing.