Strongly Typed WP-API

The first in a series of posts exploring WP-API with statically typed PHP and Function Programming patterns. The Context To expose a resource as an endpoint via WordPress’ WP-API interface one must use register_rest_route. The documentation here is incredibly opaque so it’s probably a good idea to have the handbook page open until the API is […]