Title: REST API Custom Fields
Author: Make
Published: <strong>19 Yulyu 2019</strong>
Last modified: 14 Γuct 2020

---

Search plugins

![](https://ps.w.org/rest-api-custom-fields/assets/banner-772x250.png?rev=2125638)

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/rest-api-custom-fields/assets/icon.svg?rev=2125638)

# REST API Custom Fields

 By [Make](https://profiles.wordpress.org/integromat/)

[Download](https://downloads.wordpress.org/plugin/rest-api-custom-fields.zip)

 * [Details](https://kab.wordpress.org/plugins/rest-api-custom-fields/#description)
 * [Reviews](https://kab.wordpress.org/plugins/rest-api-custom-fields/#reviews)
 *  [Installation](https://kab.wordpress.org/plugins/rest-api-custom-fields/#installation)
 * [Development](https://kab.wordpress.org/plugins/rest-api-custom-fields/#developers)

 [Support](https://wordpress.org/support/plugin/rest-api-custom-fields/)

## Description

This plugin enhances WordPress REST API v2 responses about metadata.

## Screenshots

[⌊Settings pane⌉⌊Settings pane⌉[

Settings pane

## Installation

 1. Upload « rest-api-custom-fields » folder to the « /wp-content/plugins/ » directory.
 2. Activate the plugin through the « Plugins » menu in WordPress.
 3. New item « REST API Custom Fields » appears in the admin menu (under the Settings
    menu). There you can select which metadata you want to contain in the REST API 
    response.

## Reviews

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

### 󠀁[Heaven sent!](https://wordpress.org/support/topic/heaven-sent-4/)󠁿

 [dallinchase](https://profiles.wordpress.org/dallinchase/) 29 Tuber 2022

Simple but great plugin. It allowed me to add everything I needed from my CPT fields
to the WP rest API v2. Thank you guys!

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

### 󠀁[Excellent tool, but needs to be deactivated…](https://wordpress.org/support/topic/excellent-tool-but-needs-to-be-deactivated/)󠁿

 [Damien](https://profiles.wordpress.org/damienmaurer/) 2 Maggu 2021

This is truly excellent. It makes adding fields to the Rest API easy. However, there’s
the slight issue that it slows down every. single. page. by 3-5 seconds because 
it makes a terribly slow SQL query on EVERY admin page. So I use it when I need 
it. Then I quickly deactivate it.

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

### 󠀁[Time saver](https://wordpress.org/support/topic/time-saver-282/)󠁿

 [agent3bood](https://profiles.wordpress.org/agent3bood/) 29 Yennayer 2021

Simple to use, does what is says.

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

### 󠀁[Absolutely amazing.](https://wordpress.org/support/topic/absolutely-amazing-85/)󠁿

 [dpw1](https://profiles.wordpress.org/dpw1/) 27 Tuber 2020

Extremely simple to use and effective, just plain plug-and-play style. Thank you
very much for the amazing app.

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

### 󠀁[Great Plugin!](https://wordpress.org/support/topic/great-plugin-27126/)󠁿

 [talsh272](https://profiles.wordpress.org/talsh272/) 22 Yulyu 2020

Spared me a lot of headache. Thank you!

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

### 󠀁[Fantastic plugin](https://wordpress.org/support/topic/fantastic-plugin-1237/)󠁿

 [onito000](https://profiles.wordpress.org/onito000/) 22 Dujember 2019

Hey bro, you created an awesome plugin. Your plugin solved all my issues, thank 
you so much, my friend.

 [ Read all 8 reviews ](https://wordpress.org/support/plugin/rest-api-custom-fields/reviews/)

## Contributors & Developers

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

Contributors

 *   [ Make ](https://profiles.wordpress.org/integromat/)

[Translate “REST API Custom Fields” into your language.](https://translate.wordpress.org/projects/wp-plugins/rest-api-custom-fields)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/rest-api-custom-fields/),
check out the [SVN repository](https://plugins.svn.wordpress.org/rest-api-custom-fields/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/rest-api-custom-fields/)
by [RSS](https://plugins.trac.wordpress.org/log/rest-api-custom-fields/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3

 * It is now possible to expose custom fields of custom post types

#### 1.2

 * Exposed values can now contain arrays
 * Attributes representing custom fields moved directly under the top-level node
   in the response

#### 1.1

 * Fixed db prefix

#### 1.0

 * Init version

## Meta

 *  Version **1.3**
 *  Last updated **6 n iseggasen ago**
 *  Active installations **800+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **5.5.18**
 *  PHP version ** 5.6 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/rest-api-custom-fields/)
 * Tags
 * [api](https://kab.wordpress.org/plugins/tags/api/)[endpoint](https://kab.wordpress.org/plugins/tags/endpoint/)
   [Endpoints](https://kab.wordpress.org/plugins/tags/endpoints/)[rest](https://kab.wordpress.org/plugins/tags/rest/)
   [rest-api](https://kab.wordpress.org/plugins/tags/rest-api/)
 *  [Advanced View](https://kab.wordpress.org/plugins/rest-api-custom-fields/advanced/)

## Ratings

 4.5 out of 5 stars.

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

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

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

## Contributors

 *   [ Make ](https://profiles.wordpress.org/integromat/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/rest-api-custom-fields/)