---
title: wp polyfields autoload
description: "The `wp polyfields autoload` command manages legacy option row autoload settings outside the admin UI. ## Apply — disable autoload ``` # Disable autoload (default scope: import + migration legacy rows) wp polyfields autoload apply # Import or migration scope…"
url: "https://www.wp-polyfields.com/docs/wp-cli-reference/wp-polyfields-autoload/"
updated: "2026-07-05"
category: "WP-CLI Reference"
---

# wp polyfields autoload

The `wp polyfields autoload` command manages legacy option row autoload settings outside the admin UI.

## Apply — disable autoload

```
# Disable autoload (default scope: import + migration legacy rows)
wp polyfields autoload apply

# Import or migration scope only
wp polyfields autoload apply --scope=import
wp polyfields autoload apply --scope=migration

# Preview changes without writing to the database
wp polyfields autoload apply --dry-run
```

## Revert — restore snapshotted values

```
# Restore snapshotted autoload values and clear the snapshot
wp polyfields autoload revert

# Preview restore
wp polyfields autoload revert --dry-run
```

## Status

```
# Show snapshot count and current autoload state
wp polyfields autoload status
```

`--dry-run` on `status` is ignored (the command is read-only).

See [Legacy options autoload](https://www.wp-polyfields.com/docs/performance-storage/legacy-options-autoload/) and [Autoload snapshot and revert](https://www.wp-polyfields.com/docs/performance-storage/autoload-snapshot-revert-on-deactivation/) for background on which rows are affected and when autoload changes are applied.
