Skip to content

Commit fb33e9c

Browse files
Merge pull request #56 from elvismdev/patch-1
Readme updates
2 parents 1015fa5 + 6c4875f commit fb33e9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ This project adds the `acf` command to `wp-cli` with the following subcommands:
4141
* creates a `field-group` directory into your current theme's directory.
4242
* creates a directory with the `field-group` name for each fieldgroup.
4343
* creates a `data.php` and `data.json` for each `field-group` inside their respective folders.
44-
* use `wp acf export all` to export everything without prompting
44+
* use `wp acf export --all` to export everything without prompting
4545

46-
* `wp acf import`: imports the XML(s) from `active-theme`/field-groups/{field-group_name}/data.xml`
46+
* `wp acf import`: imports the JSON(s) from `active-theme`/field-groups/{field-group_name}/data.json`
4747
* When using wp acf import a selection menu apears to choose which field-group to import
4848

4949
* `wp acf clean`: cleans up the database from all found ACF post types and their coupled `post_meta` values, use this after you've edited the `field-groups` in the UI and used export to generate the new `data.php` files. Watch out: __cannot__ be undone.

0 commit comments

Comments
 (0)