WordPress APIs are built for simplifying and standardizing the use of WordPress's core features. We can use these API functions to build future-proof solutions without spending unnecessary time on development.
In this chapter, we looked at the importance of using WordPress APIs and had a brief introduction to the functionality of each API. We choose three API's that play a major role in development, and we discussed them in detail. We started by understanding the structure and usage of a shortcode. Then, we discussed various techniques and locations for using shortcodes. Next, we moved into Rewrite API, which manages custom routes for custom features that go beyond WordPress's core features. Finally, we looked at the REST API for developing API functions and exposing application data to third-party services.
In Chapter 7, Managing Custom Post Types and Processing Forms, we will be exploring two of the most important aspects in WordPress development by teaching the user of custom post...