Skip to content
Custom fields for WordPress that are quick to build and quick to load. Get Pro
Docs

WP-CLI

export

1 minute to read Updated 1 week ago

Writes all the groups, options pages and content types to one JSON file.

BASH
wp ugly-fields export ugly-backup.json
wp ugly-fields export > ugly-backup.json
ArgumentMeaning
<file>Where to write it. Without it, the JSON is printed on the screen

It is the same file the Migration screen makes. Take it to another site with wp ugly-fields import.

Did this article answer your question?