I’ll try and keep this as short, sweet, and concise as I can. So I’m letting users create JSON files for an API by filling out a Flexible Field. I need to build and save these JSON files anytime they updated the post so I don’t reach the limit of the number of times we can hit the API.
Anyway, I need to use get_post_meta to pass the fields so I can build the JSON file. So here is what I have and these 3 work.