From ec9fbc5b109579067038d8a67dcb423ff660b3ae Mon Sep 17 00:00:00 2001 From: Curtis McHale Date: Thu, 31 Oct 2024 06:29:04 -0700 Subject: [PATCH] new widget order --- updates/release-2024.10.31.0627.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 updates/release-2024.10.31.0627.sh diff --git a/updates/release-2024.10.31.0627.sh b/updates/release-2024.10.31.0627.sh new file mode 100644 index 0000000..1f18b7f --- /dev/null +++ b/updates/release-2024.10.31.0627.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# set widget order for all users +wp user list --field=ID --format=ids --allow-root | xargs -0 --d ' ' -I % wp user meta update % meta-box-order_dashboard '{ + "normal": "proud_news_feed,proud_ye_checklist_widget,proud_concierge,proud_gogov,proud_training,proud_help_center,proud_support", + "side": "proud_help_news_feed,proud_clean_up,proud_plain_language,proud_review,proud_payments_widget,proud_accounts_widget", + "column3": "", + "column4": "" +}' --format=json --allow-root