Title: REST API Custom Fields
Author: Make
Published: <strong>Gorffennaf 19, 2019</strong>
Last modified: Awst 14, 2020

---

Search plugins

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

Nid yw’r ategyn hwn **wedi cael ei ddiweddaru ers 3 ryddhad mawr**. Efallai nad 
yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio
gyda fersiynau mwy diweddar o WordPress.

![](https://ps.w.org/rest-api-custom-fields/assets/icon.svg?rev=2125638)

# REST API Custom Fields

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

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

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

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

## Disgrifiad

This plugin enhances WordPress REST API v2 responses about metadata.

## Lluniau Sgrin

[⌊Settings pane⌉⌊Settings pane⌉[

Settings pane

## Gosod

 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.

## Adolygiadau

![](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/) Hydref 29, 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/) Mai 2, 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/) Ionawr 29, 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/) Hydref 27, 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/) Gorffennaf 22, 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/) Rhagfyr 22, 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.

Cyfranwyr

 *   [ 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).

## Cofnod Newid

#### 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 blynedd yn ôl**
 *  Active installations **800+**
 *  WordPress version ** 5.0 neu uwch **
 *  Tested up to **5.5.18**
 *  PHP version ** 5.6 neu uwch **
 *  Language
 * [English (US)](https://wordpress.org/plugins/rest-api-custom-fields/)
 * Tags
 * [api](https://cy.wordpress.org/plugins/tags/api/)[endpoint](https://cy.wordpress.org/plugins/tags/endpoint/)
   [Endpoints](https://cy.wordpress.org/plugins/tags/endpoints/)[rest](https://cy.wordpress.org/plugins/tags/rest/)
   [rest-api](https://cy.wordpress.org/plugins/tags/rest-api/)
 *  [Advanced View](https://cy.wordpress.org/plugins/rest-api-custom-fields/advanced/)

## Graddau

 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/)

## Cyfranwyr

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

## Cefnogaeth

Rhywbeth i’w ddweud? Angen help?

 [Gweld y fforwm cefnogi](https://wordpress.org/support/plugin/rest-api-custom-fields/)