May 2017
Beginner to intermediate
536 pages
14h 25m
English
In the previous section, we enabled forum and topics post types in REST API using the show_in_rest attribute. However, we have limitations when using the default REST API features for custom post types. First, we only get the standard data and we need to make lot of modifications to provide custom data such as Sticky Status for our forum topics. Also all the topics will be available to the public and we have to make considerable changes to implement forum topic restrictions. So, we are going to create our own routes and endpoints for topic related features.
Let's add a custom route to ...
Read now
Unlock full access