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
{{ message }}
This repository was archived by the owner on Jun 15, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,16 +43,16 @@ The `migrate` command will flatten the most common post meta values for WooComme
43
43
$ wp wc orders-table migrate
44
44
```
45
45
46
-
Orders are queried in batches (determined via the `--batch-size` option) in order to reduce the memory footprint of the command (e.g. "only retrieve {$size} orders at a time). Some environments may require a lower value than the default of 100.
46
+
Orders are queried in batches (determined via the `--batch-size` option) in order to reduce the memory footprint of the command (e.g. "only retrieve `$size` orders at a time"). Some environments may require a lower value than the default of 100.
47
47
48
48
**Please note** that `migrate` will delete the original order post meta rows after a successful migration. If you want to preserve these, include the `--save-post-meta` flag!
49
49
50
50
#### Options
51
51
52
52
<dl>
53
-
<dt>batch-size</dt>
54
-
<dd>The number of orders to process in each batch. Default is 100 orders.</dd>
55
-
<dt>save-post-meta</dt>
53
+
<dt>--batch-size=<size></dt>
54
+
<dd>The number of orders to process in each batch. Default is 100 orders per batch.</dd>
55
+
<dt>--save-post-meta</dt>
56
56
<dd>Preserve the original post meta after a successful migration. Default behavior is to clean up post meta.</dd>
57
57
</dl>
58
58
@@ -70,8 +70,8 @@ This command does the opposite of `migrate`, looping through the orders table an
70
70
#### Options
71
71
72
72
<dl>
73
-
<dt>batch-size</dt>
74
-
<dd>The number of orders to process in each batch. Default is 100 orders.</dd>
73
+
<dt>--batch-size=<size></dt>
74
+
<dd>The number of orders to process in each batch. Default is 100 orders per batch.</dd>
0 commit comments