Ajax API and REST API
- Daniel Loureiro
- -
- Jul 3, 2019
WordPress has two APIs to implement Ajax: Ajax API and REST API . Let's see how to use them.
WordPress has two APIs to implement Ajax: Ajax API and REST API . Let's see how to use them.
Admin pages have a standard "Save" button. But what if you need a second button? Let's create a " Hello " button that echoes a " World! " on screen.
Previously, we learned how to add an item to the core WordPress menus. Now, let's find out how to create a custom parent menu.
Forms created with the Settings API usually have lots of repetitive code. To improve this, let's see a simple technique to write forms with reduced code, inspired by WooCommerce.
In this article, let's discover the Settings API in depth. Let's learn how to use PsySH to check how WordPress works under the hood.
In the last article, we saw how to build a custom admin menu. Let's see how to use the Options API to save our form data.
In this article, let's discover the Options API in depth. Let's learn how to use PsySH to check what WordPress does behind the scenes and much more.
Let's see how to create a custom admin menu and page for our plugin.