FR: Save CPTs to JSON for better dev practices
-
Feature Request:
Save all CPTs as a local JSON object that can be read and used to update other databases. This would be helpful for developers developing in different environments with isolated databases.
Example: Currently with Advanced Custom Fields if I create a folder called acf-json in my theme then any custom fields are saved as a json file. When I think push my files to a different environment then ACF detects the JSON file and updates the fields.
As CPT UI already produces the PHP Code for export/placing in the theme, perhaps this could be amended to allow this kind of local JSON storage as per above?
Happy to expand more and here is a reference for how ACF manage this process:
https://www.advancedcustomfields.com/resources/local-json/
Thanks!
- The topic ‘FR: Save CPTs to JSON for better dev practices’ is closed to new replies.