initial
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# Plugin structure and loading
|
||||
|
||||
Use this file when introducing or refactoring a plugin architecture.
|
||||
|
||||
## Core concepts
|
||||
|
||||
- Main plugin file contains the plugin header and bootstraps the plugin.
|
||||
- Prefer predictable init:
|
||||
- minimal boot file
|
||||
- a loader/class that registers hooks
|
||||
- admin-only code behind admin hooks
|
||||
|
||||
Upstream reference:
|
||||
|
||||
- https://developer.wordpress.org/plugins/plugin-basics/
|
||||
|
||||
Reference in New Issue
Block a user