1.0.11 min read
File Structure
Review the runtime plugin directory layout and the role of each major folder.
The WordPress.org runtime package is intentionally focused.
Runtime structure
Code
vacuum-image-optimizer/
vacuum-image-optimizer.php
readme.txt
uninstall.php
src/
assets/
languages/
Important folders
| Folder | Purpose |
|---|---|
src/Admin/ | Admin screens, assets, routing, onboarding, and exports. |
src/Backup/ | Backup directory, copy, and cleanup logic. |
src/Core/ | Activation, database setup, upgrade, and deactivation. |
src/Engine/ | WebP, AVIF, and restore engines. |
src/Frontend/ | Delivery and lazy loading filters. |
src/Media/ | Media Library integration and derivative tracking. |
src/Queue/ | Queue manager, processor, and AJAX controller. |
src/Settings/ | Settings defaults and sanitization. |
src/Stats/ | Dashboard and report calculations. |
src/Utils/ | Image format and system status helpers. |
GitHub-only documentation and development files are not included in the WordPress.org ZIP.
Related articles
ArchitectureUnderstand the plugin modules, WordPress hooks, admin screens, engines, queue, and metadata flow.SecurityReview capability checks, nonces, sanitization, escaping, file safety, and no external API design.Developer NotesUse these notes when reviewing, extending, or maintaining the plugin source.