WP-API / docs

The content for developer.wordpress.org/rest-api

Home Page:https://developer.wordpress.org/rest-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Document how to support _fields in custom controller

kadamwhite opened this issue · comments

Per discussion in core slack, it's not obvious how to take advantage of the selective inclusion field logic. This should be documented in "extending the API" under writing your own endpoints.