WP Manifestindependent plugin directory
manifest / unclassified / wp-rest-api-extension-plugin

WP REST API Extension

A plugin that extends WordPress REST API with new routes and fields.

by Jovani Warguez · github.com/jovanidash21/wp-rest-api-extension-plugin · website

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/jovanidash21/wp-rest-api-extension-plugin/archive/refs/heads/master.zip

Prerequisite

Installation

  • Clone or download this repository.
    git clone https://github.com/jovanidash21/wp-rest-api-extension-plugin.git
  • Go to admin area and select Plugins -> Add New -> Upload and browse for the plugin file or upload the plugin file to /wp-content/plugins/ directory.
  • Install and then activate the plugin.
  • Go to Settings -> WP REST API Extension to configure the settings of the plugin.

Features

  • Add /wp-json/wp/v2/menus/<menu-location> route.
  • Add next_post and prev_post field on API route of a post type item.

License

Licensed under GNU General Public License v3.0.