diff options
Diffstat (limited to 'wiki')
-rw-r--r-- | wiki/scripts.mdwn | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/wiki/scripts.mdwn b/wiki/scripts.mdwn index 55a80c8..65e03ec 100644 --- a/wiki/scripts.mdwn +++ b/wiki/scripts.mdwn @@ -11,3 +11,12 @@ This page contains helpful scripts and useful terminal commands. mkdir /media/usb-drive mount /dev/sdX /media/usb-drive/ + + +## Woocommerce + +**Reset all product menu_order to `0`** + +``` +UPDATE wp_posts SET menu_order = 0 WHERE post_type = 'product'; +``` |