You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,9 +41,9 @@ This project adds the `acf` command to `wp-cli` with the following subcommands:
41
41
* creates a `field-group` directory into your current theme's directory.
42
42
* creates a directory with the `field-group` name for each fieldgroup.
43
43
* 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
45
45
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`
47
47
* When using wp acf import a selection menu apears to choose which field-group to import
48
48
49
49
*`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