Skip to content
Vacuum Image Optimizer1.0.1
1.0.11 min read

Architecture

Understand the plugin modules, WordPress hooks, admin screens, engines, queue, and metadata flow.

Vacuum Image Optimizer is organized as a namespaced WordPress plugin with focused service classes.

Main layers

LayerResponsibility
BootstrapConstants, fallback autoloader, activation and deactivation hooks.
PluginWires admin, settings, engines, upload automation, delivery, and cleanup.
AdminMenu, router, assets, views, onboarding, report export.
SettingsSanitized option storage and runtime defaults.
EnginesWebP generation, WebP source optimization, AVIF generation, restore.
QueueScan, enqueue, process, retry, and AJAX status.
BackupBackup path management, copy creation, cleanup.
MediaLibrary column, row actions, derivative attachment linking.
FrontendModern format delivery and native lazy loading.
UtilsFormat eligibility and server capability detection.

Prefixes

  • Namespace: VacuumImageOptimizer.
  • Constants: VACIMG_.
  • Options, metadata, hooks, actions, handles: vacimg_.
  • Text domain: vacuum-image-optimizer.

Related articles