In this presentation, I also included a sample for a custom WordPress API endpoint (hat/tip Ryan McCue) for causing the WordPress admin to honk via a GET request (which is decidedly unRESTful, but equal to the way the Tesla Model S API works). I then provided this URL to the audience prior to discussing the code for much hilarity.

The code’s after the break. But think twice about deploying it on a production server, since it allows others to annoy you with unauthenticated requests. The JSON REST API plugin is required prior to the JSON API’s introduction in WordPress Core itself.

I had the pleasure of being invited to speak at WordCamp Orange County this weekend about core WordPress contribution, the problems that I ran into when first getting started, and some things that have since changed to make things simpler for new contributors.

Thanks to the organizers, volunteers, and everyone involved for an excellent camp!

You can find the slides in PDF here, and embedded from Speaker Deck after the break.