Title: WP REST API Custom Fields
Author: Andr&eacute; Boekhorst
Published: <strong>2015 年 4 月 29 日</strong>
Last modified: 2015 年 5 月 4 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/wp-rest-api-custom-fields.svg)

# WP REST API Custom Fields

 作者：[André Boekhorst](https://profiles.wordpress.org/andrex84/)

[下载](https://downloads.wordpress.org/plugin/wp-rest-api-custom-fields.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-rest-api-custom-fields/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-rest-api-custom-fields/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-rest-api-custom-fields/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-rest-api-custom-fields/#developers)

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

## 描述

This plugin combines the two of the best WordPress plugins: [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/)
and [WP REST API](https://wordpress.org/plugins/json-rest-api/).

This plugin is based on the work from[Panman on Github](https://github.com/PanManAms/WP-JSON-API-ACF).
He was right when he said it would be better as plugin, but it would be even better
if it would be available through the WordPress Plugin Repository.

An addition made to this plugin is that each ACF Field van be filtered throug the
hook: JSON_META_ACFFIELDNAME (where ACFFIELDNAME depends on the fieldname you’ve
added in the Advanced Custom Fields backend.)

## 安装

This plugin works straight out of the box.

 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 评价

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

### 󠀁[JUst does not work](https://wordpress.org/support/topic/just-does-not-work-7/)󠁿

 [Bogdan Kushlyk](https://profiles.wordpress.org/skynix/) 2019 年 1 月 14 日

The plugin is installed but nothing is in the output of API

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/wp-rest-api-custom-fields/reviews/)

## 贡献者及开发者

「WP REST API Custom Fields」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ André Boekhorst ](https://profiles.wordpress.org/andrex84/)

[帮助将「WP REST API Custom Fields」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-rest-api-custom-fields)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-rest-api-custom-fields/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wp-rest-api-custom-fields/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/wp-rest-api-custom-fields/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-rest-api-custom-fields/)。

## 更新日志

#### 0.1

 * Initial Release.

## 额外信息

 *  版本 **0.2**
 *  最后更新：**11 年前**
 *  活跃安装数量 **70+**
 *  WordPress 版本 ** 4.2.1 或更高版本 **
 *  已测试的最高版本为 **4.2.39**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-rest-api-custom-fields/)
 * 标签
 * [advanced custom fields](https://cn.wordpress.org/plugins/tags/advanced-custom-fields/)
   [api](https://cn.wordpress.org/plugins/tags/api/)[JSON](https://cn.wordpress.org/plugins/tags/json/)
   [rest](https://cn.wordpress.org/plugins/tags/rest/)[rest-api](https://cn.wordpress.org/plugins/tags/rest-api/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-rest-api-custom-fields/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

[查看全部评论](https://wordpress.org/support/plugin/wp-rest-api-custom-fields/reviews/)

## 贡献者

 *   [ André Boekhorst ](https://profiles.wordpress.org/andrex84/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-rest-api-custom-fields/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.oxfam.org/en/donate)