When you’re part of a team with a vibrant culture, like the one we have at XWP, you owe it to your teammates to give your work your absolute best efforts, even if things don’t shake out perfectly. Continue reading Take the time to own it.
We were recently in a situation in a project where we wanted to rebuild/invalidate a cache when a particular post was updated. Some of the key data for the post is stored in postmeta. So we have code that looks like: The problem here is that we can’t reliably use the save_post action to flush the cache because … Continue reading Use meta_input and tax_input with wp_insert_post() & wp_update_post()