Skip to content

Instantly share code, notes, and snippets.

@sumitpore
Last active January 29, 2020 04:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sumitpore/82ee937fdf806fd5789f6ba89e78bb5f to your computer and use it in GitHub Desktop.
Save sumitpore/82ee937fdf806fd5789f6ba89e78bb5f to your computer and use it in GitHub Desktop.
WordPress Plugin Directory Structure
.
├── admin-resources # Holds Admin related CSS, JS and Templates
│   ├── css
│   ├── js
│   └── templates
├── frontend-resources # Holds Frontend related CSS, JS and Templates
│   ├── css
│   ├── js
│   └── templates
├── custom-packages # Composer packages built or modified for Project
├── inc
│   ├── service-providers # Service Providers
│   └── modules # Holds all Modules
│      ├── api # Holds API module's code
│      ├── background-processes # Define Background Processes
│      ├── plugin-xyz # Features related to XYZ Plugin
│      ├── emails # Emails Module
│      ├── seo # SEO Module
│      └── some-feature-folder # Separate folder for module which is not dependent upon any other plugin
└── languages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment