psaikali / 25686-wordpress-custom-api-route

Simple WordPress plugin to learn how to register a new custom REST API endpoint, one to create a post and another one to delete a post.

Repository from Github https://github.compsaikali/25686-wordpress-custom-api-routeRepository from Github https://github.compsaikali/25686-wordpress-custom-api-route

How to create new REST API routes in WordPress.

Register a simple API route to create a post or delete it using a secret token.

This repository is a basic WordPress plugin created to illustrate a tutorial about the WordPress REST API and how to extend it.

Read the blog post →

About

Simple WordPress plugin to learn how to register a new custom REST API endpoint, one to create a post and another one to delete a post.


Languages

Language:PHP 100.0%