wpscholar / wp-rest-menu-endpoints

WordPress REST API endpoints for menus

Repository from Github https://github.comwpscholar/wp-rest-menu-endpointsRepository from Github https://github.comwpscholar/wp-rest-menu-endpoints

WordPress REST API Menu Endpoints

This repository is meant to serve as an initial implementation of the WordPress REST API menu endpoints with the intent of eventually merging into WordPress core.

Discussion via issues and pull requests are welcome.

View the API documentation

What It Does

Provides a collection of endpoints that allow full management of menus in WordPress.

Don't believe me? Try out my Vue prototype that aims to replicate the menus page from the WordPress admin.

How to Use It

Add to your project via Composer:

$ composer wpscholar/wp-rest-menu-endpoints

Make sure you have added the Composer autoloader to your project:

<?php

require __DIR__ . '/vendor/autoload.php';

All endpoints will be automatically registered and will work out of the box. Check out the API documentation to see how the API works. If you have a question, just open an issue.

About

WordPress REST API endpoints for menus


Languages

Language:PHP 100.0%