Opened 8 years ago

Closed 6 years ago

#1935 closed task (blessed) (fixed)

Add a section for using the WP REST API into the Plugin Developer Handbook.

Reported by: chopinbach's profile ChopinBach Owned by:
Milestone: Priority: normal
Component: Developer Hub Keywords:


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)

#1 @DrewAPicture
8 years ago

  • Type changed from enhancement to task

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.

This ticket was mentioned in Slack in #meta-devhub by coffee2code. View the logs.

8 years ago

#3 @obenland
6 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.