An open API service indexing awesome lists of open source software.

https://github.com/petenelson/wp-rest-api-toolbox

WordPress plugin to tweak the REST API settings
https://github.com/petenelson/wp-rest-api-toolbox

rest-api wordpress wordpress-plugin

Last synced: 2 days ago
JSON representation

WordPress plugin to tweak the REST API settings

Awesome Lists containing this project

README

          

# REST API Toolbox #
**Contributors:** [gungeekatx](https://profiles.wordpress.org/gungeekatx/)
**Tags:** rest api, rest, wp rest api, json api
**Donate link:** https://petenelson.io/
**Requires at least:** 4.4
**Tested up to:** 6.7.1
**Stable tag:** 1.4.4
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Allows tweaking of several REST API settings

## Description ##

Allows tweaking of several REST API settings

* Disable the REST API
* Remove WordPress core endpoints
* Require authentication for core endpoints
* Force SSL
* WP-CLI commands: wp rest-api-toolbox

Find us on GitHub at https://github.com/petenelson/wp-rest-api-toolbox

(Creative commons toolbox image provided by James Tworow https://www.flickr.com/photos/sherlock77/)

## Installation ##

1. Upload rest-api-toolbox to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Visit the Settings -> REST API Toolbox page to customize

## Frequently Asked Questions ##

Have any questions? We can answer them here?

## Screenshots ##

### 1. General admin settings ###
![General admin settings](https://raw.githubusercontent.com/petenelson/wp-rest-api-toolbox/master/assets/screenshot-1.png)

### 2. WordPress core settings ###
![WordPress core settings](https://raw.githubusercontent.com/petenelson/wp-rest-api-toolbox/master/assets/screenshot-2.png)

## Changelog ##

### 1.4.4 January 2nd, 2025 ###
* Fixed deprecated notices for PHP 8 (props @thefrosty).

### 1.4.3 March 25th, 2021 ###
* No longer check for SSL when running any WP-CLI commands.

### 1.4.2 February 13th, 2017 ###
* Fixed bug in requiring authentication for endpoints that accessed specific items (ex: /wp/v2/users/1)

### 1.4.1 January 16th, 2017 ###
* Added settings support for No Custom Post Types
* Fixed undefined variable notice (props @funkolector)

### 1.4.0 January 13th, 2017 ###
* Added support for removing or requiring authentication for custom post types.
* Updated Settings UI for better clarity.
* Added link to settings page from the plugins list page.

### 1.3.0 December 12th, 2016 ###
* Added option to require authentication for core endpoints.

### 1.2.0 December 5th, 2016 ###
* Updated the way the REST API can be disabled due to the rest_enabled filter being deprecated.
* Added 'settings' to the list of core endpoints that can be removed.
* Added CLI command: wp rest-api-toolbox status

### 1.1.0 April 16, 2016 ###
* Change REST API prefix
* Remove specific core endpoints
* Disable JSONP

### 1.0.0 April 15, 2016 ###
* Initial release

## Upgrade Notice ##

### 1.4.3 March 25th, 2021 ###
* No longer check for SSL when running any WP-CLI commands.