Skip to content
Vacuum Image Optimizer1.2.1
1.2.11 min read

Hooks & Filters

Reference extension points and operational hooks available in version 1.2.1.

Version 1.2.1 exposes a small, conservative extension surface.

Filters

FilterPurpose
vacimg_backup_retention_daysAdjust backup retention days after settings are read.
vacimg_delivery_fallbackObserve a safe original fallback for an attachment and source path.

Operational hooks

HookPurpose
vacimg_cleanup_backupsScheduled backup cleanup.
wp_ajax_vacimg_scan_libraryQueue scan action.
wp_ajax_vacimg_process_batchQueue batch processing action.
admin_post_vacimg_save_wizardSetup Wizard save action.
admin_post_vacimg_skip_wizardSetup Wizard skip action.
vacimg_derivatives_updatedObserve an attachment's derivative generation counts.

Developer guidance

Treat undocumented internal methods as private. Prefer public WordPress hooks, settings, and metadata rather than reaching into service internals.

Related articles