projects
projects copied to clipboard
Added REST API support
Not sure if it's useful in general but needed to access projects through the JSON API and gridsome. This requires the type to be explicitly set to show in the API. Not sure about backward compatibility.
Perhaps this should be made into an option in settings?
https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-rest-api-support-for-custom-content-types/