Michael Beckwith
Michael Beckwith
# CONFLICT As is, we're wanting to prefer the database version over local JSON version. However, we allow adding new via UI, even if local version exists, and that would...
`local_is_being_used()` check if files exist, not just if folder is writable switch to saving individual json files per post type/taxonomy ? instead of filtering the get content type functions, leave...
creating some local content types, and then deleting the db copy, and then adding new afterwards would wipe out the local json copy IF storing all of them. So we...
Need to account for any helper functions that are meant to fetch slugs and data.
With individual json files for each post type, we still need to also account for loading specific files for specific sites. Specifically in `local_combine_post_types` and `local_combine_taxonomies`
> With individual json files for each post type, we still need to also account for loading specific files for specific sites. > > Specifically in `local_combine_post_types` and `local_combine_taxonomies` This...
> creating some local content types, and then deleting the db copy, and then adding new afterwards would wipe out the local json copy IF storing all of them. So...
> `local_is_being_used()` > check if files exist, not just if folder is writable We have `local_has_post_types()` and `local_has_taxonomies()` which will do a combining of found local JSON files, if any...
I think https://github.com/WebDevStudios/custom-post-type-ui/issues/891#issuecomment-1254195669 is still our biggest hurdle before primary development of this feature is handled and we're ready for general testing and confirmation of behavior.
~~https://github.com/WebDevStudios/custom-post-type-ui/issues/687#issuecomment-1292740292~~