Hello,
Is it possible to import/add widgets to a specific sidebar from a file?
For example, when there is a need to copy over widgets for a specific sidebar only from one environment to another.
I can get a sidebar widgets info into a file using the following command:
wp widget list sidebar-ID --format=json > file-name.txt
But I can't see if it's possible to add widgets to a sidebar from a file.
Perhaps there is a different way of doing this? Is it at all possible?
I'd really appreciate any tips. Thank you!