How to add an array to a command “wp config set”?

Question

you need to add a constant when building a docker file wp-config.php

define( 'AS3CF_SETTINGS', serialize( array(
'provider' => 'aws',
'access-key-id' => '*****',
'secret-access-key' => '****',

tried using command – wp config set AS3CF_SETTINGS [‘ “asd” => “asd”, “dsa” => “dsa”‘], it passes the string(

please tell me is it possible to transfer this as an array?

0
pecha 4 months 0 Answers 21 views 0

Leave an answer