WP-CLI
bash
wp wpff list
wp wpff export [<key>...] [--format=json|php] [--file=<file>]
wp wpff import <file>
wp wpff sync [--all]
wp wpff import-acf [--dry-run]| Command | What it does |
|---|---|
list | Lists field groups. --format: table, json, csv or yaml. |
export | Exports field groups as JSON (ACF's format) or PHP. Without keys, exports all groups. --file writes to a file instead of the output. |
import | Imports field groups from a JSON export (WP Freeform Fields or ACF). Existing groups with the same key are updated. |
sync | Imports Local JSON files that are newer than the database or not in it yet. --all imports every file. |
import-acf | Imports what ACF stored in the database: post types, taxonomies, options pages, then field groups. Keys are kept. --dry-run only lists what would be imported. |
See Moving from ACF.