---
title: "Autoload snapshot & revert on deactivation"
description: "Before turning autoload off for a legacy row, the plugin stores its current `autoload` value in the option `polyfields_acf_options_autoload_snapshots`. Snapshot entries are created on first touch only — existing snapshot entries are never overwritten. ## Revert on deactivation On deactivation,…"
url: "https://www.wp-polyfields.com/docs/performance-storage/autoload-snapshot-revert-on-deactivation/"
updated: "2026-07-05"
category: "Performance & Storage"
---

# Autoload snapshot & revert on deactivation

Before turning autoload off for a legacy row, the plugin stores its current `autoload` value in the option `polyfields_acf_options_autoload_snapshots`. Snapshot entries are created on first touch only — existing snapshot entries are never overwritten.

## Revert on deactivation

On deactivation, each snapshotted row is restored to its saved autoload value and the snapshot option is deleted. This runs even when you choose to keep plugin data on deactivate.

## When autoload is updated automatically

| Event | Action |
| --- | --- |
| Plugin activation | Disable autoload on all known import and migration legacy rows |
| Import completed | Disable autoload on import legacy rows |
| Migration completed | Disable autoload on migration legacy rows |
| Plugin deactivation | Restore snapshotted autoload values |

Re-running apply is idempotent: only rows that are still autoloaded are updated, and snapshot entries are preserved.

To manage autoload outside the admin UI, see [wp polyfields autoload](https://www.wp-polyfields.com/docs/wp-cli-reference/wp-polyfields-autoload/).
