wp-cli wp option patch create array
-
Hello,
i am wondering how to create an array of values in a option using wp-cli.
I can insert information into that array usign:
wp option patch insert woocommerce_bacs_accounts 0 account_name “BankAccount”
I can read options from the array using:
wp option pluck woocommerce_bacs_accounts 0 account_nameHow do i create an array initially in a wp option?
Thank you for your help!The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wp-cli wp option patch create array’ is closed to new replies.