Hi!
I would like to know if the settings can be imported in any other way than “manual”. I would like, for example, to make my own plugin which imports certain settings from a file previously exported.
Thanks!
So if you don’t want to use the “Import” form in “Appearance > GeneratePress”, you would have to write a function to parse the file and loop through each setting. Unfortunately it’s quite complex, so I can’t lay out how to do it here. However, if you look at the code for the Import / Export module, you’ll see how we do it 🙂