Title: WP REST API Controller
Author: Evan Herman
Published: <strong>4 ліпеня, 2016</strong>
Last modified: 22 сакавіка, 2023

---

Пошук плагінаў

![](https://ps.w.org/wp-rest-api-controller/assets/banner-772x250.png?rev=2489942)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/wp-rest-api-controller/assets/icon-256x256.png?rev=2489942)

# WP REST API Controller

 Аўтар: [Evan Herman](https://profiles.wordpress.org/eherman24/)

[Спампаваць](https://downloads.wordpress.org/plugin/wp-rest-api-controller.2.1.2.zip)

 * [Падрабязнасці](https://bel.wordpress.org/plugins/wp-rest-api-controller/#description)
 * [Водгукі](https://bel.wordpress.org/plugins/wp-rest-api-controller/#reviews)
 *  [Ўсталёўка](https://bel.wordpress.org/plugins/wp-rest-api-controller/#installation)
 * [Распрацоўка](https://bel.wordpress.org/plugins/wp-rest-api-controller/#developers)

 [Падтрымка](https://wordpress.org/support/plugin/wp-rest-api-controller/)

## Апісанне

WP REST API Controller allows admins to toggle the visibility of, and customize 
the endpoints for, all core and _custom_ post types and taxonomies within WordPress
with an easy-to-use graphical interface. Additionally, you can tweak visibility 
and customize the meta data attached to the API response.

> **Note:** This plugin requires WordPress Version 4.7 or later to work.

**Features:**

 * Enable/Disable REST API endpoints for post types and taxonomies.
 * Enable/Disable post type/taxonomy meta data (add or remove meta fields from API
   requests).
 * Rename post type/taxonomy base endpoints.
 * Rename post type/taxonomy meta data names in API requests so they are more user
   friendly.
 * Manipulate and control post types/taxonomies and their data created by third 
   party plugins and themes.
 * Granular control of API responses without writing a single line of PHP code.
 * Filters included to alter and extend default functionality.
 * Localized and ready for translations.

## Screenshots

[⌊WP REST API Controller settings page.⌉⌊WP REST API Controller settings page.⌉[

WP REST API Controller settings page.

## Ўсталёўка

 1. Download the plugin .zip file and make note of where on your computer you downloaded
    it to.
 2. In the WordPress admin (yourdomain.com/wp-admin) go to Plugins > Add New or click
    the “Add New” button on the main plugins screen.
 3. On the following screen, click the “Upload Plugin” button.
 4. Browse your computer to where you downloaded the plugin .zip file, select it and
    click the “Install Now” button.
 5. After the plugin has successfully installed, click “Activate Plugin” and enjoy!
 6. Find the WP REST API Controller Settings screen under the **Tools** menu in the
    WordPress Admin

## Часта задаваныя пытанні

### Can I toggle the visibility of endpoints?

Yes! You can quickly and easily toggle the endpoints, so they are either accessible
or inaccessible to API requests. Using our interface you can enable the post types
you need, while disabling the ones you don’t.

### Can I alter the default REST endpoints using this plugin?

Yes, you can alter all core public post types and taxonomies using this plugin. 
You can enable/disable all public post types and taxonomies on your site, and enable/
disable/customize their meta data using this plugin.

### Can I alter REST endpoints for post types from other plugins or my theme?

Yes! Our plugin simply filters the `rest_base` parameter for the custom post type,
so you can setup or alter REST endpoints for every custom post type on your site!

### Are all post types customizable using this plugin?

Our plugin allows you to customize all of the post types within WordPress.

### Can I customize the meta data assigned to post types?

Yes! Users can enable or disable custom meta data assigned to each post type. You
can also change the name of the property for each meta data in the API request. 
If you assign custom meta fields to your posts using [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/),
[CMB2](https://wordpress.org/plugins/cmb2/) or `add_meta_box()` you can adjust the
visibility, and customize the name, of the property in API requests.

### Is this plugin compatible with the Core WordPress 4.7 REST API?

Yes! Version 1.3 of this plugin is compatible with WordPress 4.7.

**Note:** All properties in the API request are populated using `get_post_meta()`
or `get_term_meta()`. If you need to filter a meta value, you can use the `wp_rest_api_controller_api_property_value`
filter provided by this plugin.

## Водгукі

![](https://secure.gravatar.com/avatar/d5ab8b06fdde5dbd2f0928af5a9762466b019403e221a903bb99ece49c7a9b1b?
s=60&d=retro&r=g)

### 󠀁[taxonomies not saving](https://wordpress.org/support/topic/taxonomies-not-saving-3/)󠁿

 [meirk](https://profiles.wordpress.org/meirk/) 14 чэрвеня, 2021 1 reply

taxonomies not saving – no response from support

![](https://secure.gravatar.com/avatar/b8f59f03418cc2c91db523bb1e2cbd70aab44b08722a0ae045a583c24b12be1c?
s=60&d=retro&r=g)

### 󠀁[It is not removed from the plugin.](https://wordpress.org/support/topic/it-is-not-removed-from-the-plugin/)󠁿

 [elec1123](https://profiles.wordpress.org/elec1123/) 28 красавіка, 2019 1 reply

It is not removed from the plugin.

![](https://secure.gravatar.com/avatar/c3053acf7bc9313298b91457efb3332f92bee10a183272a7179bc7dc1646fbe7?
s=60&d=retro&r=g)

### 󠀁[Just great](https://wordpress.org/support/topic/just-great-264/)󠁿

 [](https://profiles.wordpress.org/stepes/) 22 студзеня, 2018 1 reply

This thing saved me a lot of time trying to expose Woocommerce product price directly
in WordPress API, awesome!

![](https://secure.gravatar.com/avatar/1b67d93bd5d5b1a22d36e06f2ce9979c01e5fa6c0b8573a9c6960453d48d8bd0?
s=60&d=retro&r=g)

### 󠀁[awesome plugin!!!!!](https://wordpress.org/support/topic/great-plugin-15138/)󠁿

 [antimine](https://profiles.wordpress.org/antimine/) 11 верасня, 2017 1 reply

This is the best of best!!! thank you very much!!!!

![](https://secure.gravatar.com/avatar/30eeeb55eb00fe69ec16a4e762d680368f7c88d487c836dbfa387be688b363e4?
s=60&d=retro&r=g)

### 󠀁[Thanks! Awesome plugin!!!](https://wordpress.org/support/topic/thanks-awesome-plugin/)󠁿

 [linkerx](https://profiles.wordpress.org/linkerx/) 22 жніўня, 2017 1 reply

you made my day!!!! thanks!!!

![](https://secure.gravatar.com/avatar/0026b0e019b255c01c1159d8d1bd8528e0fe9605bb0d4c33fec4963adb510b5d?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-4159/)󠁿

 [thadknull](https://profiles.wordpress.org/thadknull/) 17 ліпеня, 2017

I was able to use this on a project with a newspaper using Wordpress. Very handy—
the one issue we did notice was that you cannot have a meta variable that has a “
custom meta key” name of “id” because when it conflicts with the Wordpress post 
ID in the JSON object: it makes all the custom fields appear empty. All we had to
do was change that setting for the “id” field in the plugin’s admin panel and all
was well.

 [ Чытаць усе 12 водгукаў ](https://wordpress.org/support/plugin/wp-rest-api-controller/reviews/)

## Удзельнікі і распрацоўшчыкі

“WP REST API Controller” is open source software. The following people have contributed
to this plugin.

Удзельнікі

 *   [ Evan Herman ](https://profiles.wordpress.org/eherman24/)
 *   [ karmadharma ](https://profiles.wordpress.org/yikesinc/)
 *   [ Tracy Levesque ](https://profiles.wordpress.org/liljimmi/)
 *   [ yikesitskevin ](https://profiles.wordpress.org/yikesitskevin/)
 *   [ jpowersdev ](https://profiles.wordpress.org/jpowersdev/)
 *   [ Code Parrots ](https://profiles.wordpress.org/codeparrots/)

[Перакласці “WP REST API Controller” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/wp-rest-api-controller)

### Зацікаўлены ў распрацоўцы?

[Праглядзіце код](https://plugins.trac.wordpress.org/browser/wp-rest-api-controller/),
праверце [SVN рэпазітарый](https://plugins.svn.wordpress.org/wp-rest-api-controller/),
або падпішыцеся на [журнал распрацоўкі](https://plugins.trac.wordpress.org/log/wp-rest-api-controller/)
па [RSS](https://plugins.trac.wordpress.org/log/wp-rest-api-controller/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змяненняў

 * Fixed the REST API endpoint when the `rest_base` value is empty when a post type
   is registered.

## Мета

 *  Версія **2.1.2**
 *  Апошняе абнаўленне **3 гады таму**
 *  Актыўных установак **8 000+**
 *  Версія WordPress ** 4.7 або вышэй **
 *  Правераны да версіі **6.2.9**
 *  Мова
 * [English (US)](https://wordpress.org/plugins/wp-rest-api-controller/)
 * Тэгі
 * [api](https://bel.wordpress.org/plugins/tags/api/)[controller](https://bel.wordpress.org/plugins/tags/controller/)
   [endpoint](https://bel.wordpress.org/plugins/tags/endpoint/)[meta](https://bel.wordpress.org/plugins/tags/meta/)
   [rest](https://bel.wordpress.org/plugins/tags/rest/)
 *  [Пашыраны прагляд](https://bel.wordpress.org/plugins/wp-rest-api-controller/advanced/)

## Ацэнкі

 4.3 з 5 зорак.

 *  [  10 5-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-controller/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-controller/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-controller/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-controller/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-controller/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-rest-api-controller/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-rest-api-controller/reviews/)

## Удзельнікі

 *   [ Evan Herman ](https://profiles.wordpress.org/eherman24/)
 *   [ karmadharma ](https://profiles.wordpress.org/yikesinc/)
 *   [ Tracy Levesque ](https://profiles.wordpress.org/liljimmi/)
 *   [ yikesitskevin ](https://profiles.wordpress.org/yikesitskevin/)
 *   [ jpowersdev ](https://profiles.wordpress.org/jpowersdev/)
 *   [ Code Parrots ](https://profiles.wordpress.org/codeparrots/)

## Падтрымка

Ёсць што сказаць? Патрэбна дапамога?

 [Перайсці да форуму падтрымкі](https://wordpress.org/support/plugin/wp-rest-api-controller/)