Build your first WordPress plugins with clean PHP and an MVC structure.
What you'll learn
Create plugins using hooks, actions and filters, custom post types, and settings in a clean MVC-style structure, and safely interact with the WordPress database.
Who it's for
PHP developers new to WordPress plugin development.
Prerequisites
PHP fundamentals and basic WordPress usage.
Foundations of WordPress plugin development with clean, MVC-structured PHP.
Designing for MVC in WordPress
Defining the Plugin Core Class
Understanding WordPress Hooks
Implementing Custom Action Hooks
Managing Hook Priorities
Creating Admin Menus
The Controller Layer for Admin Pages
Registering Custom Post Types
Configuring CPT Arguments
Introduction to Taxonomies
Designing Meta-Boxes
Sanitizing User Input
Saving Meta Data
Database Basics with wpdb
Secure CRUD Operations
Querying with WP_Query
Optimizing Queries
The Model Layer for Data
Enqueuing Scripts and Styles
Plugin Template Hierarchy
Creating Frontend Templates
Building Shortcodes
Advanced Shortcode Logic
Introduction to Gutenberg Blocks
The Settings API
Validating Settings
Implementing Nonces
Capability Checks
Handling Plugin Updates
Internationalization (i18n)
Debugging WordPress Plugins
Unit Testing Foundations
Handling AJAX Requests
REST API Integration
Advanced Database Queries
Caching Strategies
Plugin Security Best Practices
Composer for Dependencies
Theme Integration Hooks
Managing Assets with Gulp/Webpack
Documentation Standards
Plugin Deployment Strategy
Advanced MVC: Dependency Injection
Handling Large Datasets
Error Handling and Logging