wordpress-slot-fill-system
wordpress-slot-fill-system copied to clipboard
Plugin examples for my Extending WordPress using the SlotFill system talk
The WordPress SlotFill System
This repository contains working example of all of the existing SlotFills available in WordPress as of version 6.0.
Slots Available in the Post Edit Screen
- PluginPostStatusInfo
- PluginPrePublishPanel
- PluginPostPublishPanel
- PluginMoreMenuItem
- PluginBlockSettingsMenuItem
- PluginSidebar
- PluginSidebarMoreMenuItem
- PluginDocumentSettingPanel
- MainDashboardButton Marked as experimental
Slots Available in the Site Edit Screen
- PluginMoreMenuItem
- PluginSidebar
- PluginSidebarMoreMenuItem
- PluginTemplateSettingPanel
Local Development
Run the setup command to install all dependencies and do an initial production build.
npm run setup
Build Commands - compiles once.
npm run build
Watch Commands - compiles when files are changed.
npm run start
Start the local development environment.
wp-now
npm run wp-now start --blueprint=./wp-now.json
wp-env
npm run env start