Build a Plugin

This section walks through building a full plugin from scratch using the WPPF CLI. Each step is a dedicated page, and you can follow them in order.

Steps

Step Page
Getting started (installation) Getting started (installation)
Create a plugin file (using CLI) Create a plugin file
Create a post type (using CLI) Create a post type
Create a post type meta (using CLI) Create a post type meta
Create a plugin admin module (using CLI) Create a plugin admin module
Create a post screen (using CLI) Create a post screen
Create a meta box (using CLI) Create a meta box

Notes

  • Run all CLI commands from your plugin root folder.
  • The CLI relies on the folder name for class and file naming.