Hy, I’m looking for a solution to store the current configuration of CPT UI as a File (JSON, PHP, etc.) to be able to version control the settings and also deploy them to other environments. Currently we have to make Changes on all environments and this is kind a risky and leads to errors.
ACF has something which is quite nice, maybe something like this would work?
– https://www.advancedcustomfields.com/resources/local-json/
– https://www.advancedcustomfields.com/resources/synchronized-json/
Or a WP-CLI Extension to im- and export CPT UI Settings?
What do you think, would something like this be possible and how could this work? Generate PHP files which mimic the current CPT UI Settings?