Skip to content

Collection of WordPress plugin exercises including user registration, REST API, shortcodes, and custom posts

Notifications You must be signed in to change notification settings

saphalpantha/plugin-development

Repository files navigation

Plugin Development

This repository contains multiple WordPress plugin development exercises demonstrating core plugin concepts, user registration, REST APIs, shortcodes, custom post types, and integration with PHP and React.

Key Features

  • Fully functional class-based user registration plugin.
  • REST API endpoints for CRUD operations using register_rest_route.
  • Custom post type creation for WordPress.
  • Shortcode implementation and AJAX integration for dynamic content.
  • Form validation and data mutation using React Hook Form and React Query.
  • Example TODO apps using PHP and PDO for database handling.
  • Modular structure to demonstrate WordPress hooks, WP Mail, and plugin best practices.

Project Structure

  • first-day – Simple TODO app
  • second-day – PDO-based TODO app
  • fouth-day – User registration plugin with hooks and WP Mail
  • fivth-day/test-shortcode – Shortcode examples
  • tenth-day/custom-post-plugin – Custom post type plugin
  • eight-day/rest-api – REST API plugin examples
  • eleven-day/final-user-reg – AJAX-based user registration plugin
  • twelve-day/final-user-reg_extra – Fully functional class-based user registration plugin

Notes

  • Ideal for learning WordPress plugin development and PHP-React integration.
  • Each folder represents a separate day/project demonstrating a specific plugin concept.
  • Includes practical examples for REST APIs, shortcodes, user authentication, and form handling.

About

Collection of WordPress plugin exercises including user registration, REST API, shortcodes, and custom posts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published