Skip to content
Vacuum Image Optimizer1.2.1
1.2.11 min read

AJAX Endpoints

Reference the authenticated admin AJAX actions used by the bulk queue.

Vacuum registers AJAX actions for authenticated admin queue operations.

Queue actions

ActionPurpose
wp_ajax_vacimg_scan_libraryScan attachments and prepare jobs.
wp_ajax_vacimg_start_queueStart processing.
wp_ajax_vacimg_pause_queuePause processing.
wp_ajax_vacimg_resume_queueResume processing.
wp_ajax_vacimg_process_batchProcess one batch.
wp_ajax_vacimg_queue_statusReturn current queue status.
wp_ajax_vacimg_retry_queue_jobRetry a failed job.

Admin-post actions

The setup wizard uses admin_post_vacimg_save_wizard and admin_post_vacimg_skip_wizard. Report export uses an authenticated admin-post action.

Modern-format migration actions

ActionPurpose
wp_ajax_vacimg_migration_scanRun a non-destructive readiness scan.
wp_ajax_vacimg_migration_startStart or resume migration.
wp_ajax_vacimg_migration_pausePause migration after the current batch.
wp_ajax_vacimg_migration_cancelCancel unstarted migration work.
wp_ajax_vacimg_migration_processProcess one migration batch.
wp_ajax_vacimg_migration_statusReturn persistent migration state.
wp_ajax_vacimg_migration_diagnosticsInspect one attachment's delivery state.

Security expectations

Endpoints should be used only from WordPress admin screens. They rely on capability checks, nonces, sanitized input, and escaped output.

Related articles