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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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%