Opened 8 years ago
Closed 7 years ago
#1935 closed task (blessed) (fixed)
Add a section for using the WP REST API into the Plugin Developer Handbook.
Reported by: | ChopinBach | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Developer Hub | Keywords: | |
Cc: |
Description
Hi DevHub Team,
Not entirely sure if I am opening a ticket in the right place. Anyways, the Plugin Handbook should feature sections covering how to use the current REST API infrastructure introduced in WordPress 4.4. It can go over creating basic endpoints through route registration. Serving requests internally with rest_do_request()
(personal favorite). It can also go over how to create forward facing Controller classes for the endpoints so if/when WP_REST_Controller
is merged into core endpoints can quickly take advantage of that functionality as well. I will examine how the other handbooks approach documentation and will do my best to match that style.
Change History (3)
Note: See
TracTickets for help on using
tickets.
For what it's worth, I asked @ChopinBach to open this ticket so we have a concrete place to track progress outside of the plugin developer handbook spreadsheet.