[wp-meta] [Making WordPress.org] #1935: Add a section for using the WP REST API into the Plugin Developer Handbook.

Making WordPress.org noreply at wordpress.org
Fri Aug 26 16:17:16 UTC 2016


#1935: Add a section for using the WP REST API into the Plugin Developer Handbook.
---------------------------+-----------------
 Reporter:  ChopinBach     |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:
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.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1935>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list