Michael Beckwith
Michael Beckwith
5.5.1 likely helped resolve this temporarily, but like with #1373 we may still need to address some newest changes from WP core.
Alternative thought, would it perhaps be more beneficial to somehow provide init triggers for individual metaboxes? That way you could do that instead of having to trigger this one you're...
My first question would be are you fore sure getting through those if statements? Maybe it's not reaching the update_post_meta line? Also curious what `update_post_meta` is returning which can be...
Maybe you're getting different IDs out of things and thus also updating meta data on a different post, or perhaps a revision. I'm also not sure why you're doing a...
Before I try out too much more, I guess my question is why are you trying to do things this way? I'm not seeing any benefit for this callback update...
I'm wondering if the code value is being updated, but then also the UI version is getting updated to what's shown there, afterwards. So it would be working, but it's...
Maybe some of these will be better for you: https://github.com/CMB2/CMB2/wiki/Tips-&-Tricks#override-the-data-storage-location-for-a-cmb2-box Specifically the save versions. You can return a non-null value after updating the meta field yourself, to prevent the rest...
@mikmargiotta did you ever get this figured out?
Closest I can think of would be somehow creating some default metadata upon post draft creation that holds an empty array that matches what you want to initially have for...
Not sure what to suggest for that.