-
Book Overview & Buying
-
Table Of Contents
Learning WordPress REST API
By :
With the established progress within the REST API community, there is one perspective that definitely deserves more attention and consideration, which is why we talk about the progressive enhancement of the WordPress REST API, which is the development route proposed by the contributor team behind the API for its future. With the imperfection that Matt Mullenweg considers to be the problem holding up the REST API's integration in the core, progressive enhancement comes as a proposed solution for forward-compatibility with upcoming releases of WordPress and the way robust handling of data types is handled in WordPress. It is said that progressive enhancement would unblock the REST API from its state, as parity with every feature of the WordPress is admittedly considered to be the wrong approach, says McCue.
Custom Post types have that freedom in regard to working with data and a robust system that indicates feature support via the REST API. For example...