Handling “Not Found” Errors in the WordPress REST API for queries by slug
Handling "Not Found" Errors in the WordPress REST API when querying by slug. Use this to change not found empty arrays to a 404 status with response code.
Santa Monica Senior WordPress Developer
Santa Monica Senior WordPress Developer
It all started with an old Dell core 2 duo laptop. I pulled out this machine that had been in the closet for a little over a year as I mad the switch to Mac. Installed a new SSD gotβ¦
I took the weekend off and went down to San Diego for WordCamp SD. Which after I checked in via Swarm I noticed it had been four years since my last visit to WordCamp San Diego π³. I’m really gladβ¦