Custom Post save causes 500 error
I found an answer. Essentially I had an infinite loop that was quite puzzling at first. It made more sense as I saw that it never iterated beyond the first item in the post array. I found the answer here: https://tommcfarlin.com/update-post-in-save-post-action/ The issue is that wp_update_post hooks into save_post… so every time I would reach … Read more