Hi. I need to create and edit tons of custom posts. It would be wonderful if I could select a default value for taxonomy fields, but I see the feature has yet to be added.
I tried to load a default value with some filters. The first one is a regular checkbox Taxonomy field, and the second one is the same thing, but it’s inside a repeater and a radio button:
The code works as intended, except if I click on “Add new” under the first instance of the repeater to load a new one, there default value is not loaded. I’m doing something wrong?
Edit: it does NOT work as intended. If I edit a published post with a different values, add another one and save the post, all the instances in the repeater are equal to the default value. Can I preserve already published values?