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

ACF to REST API

描述

Exposes Advanced Custom Fields Endpoints in the WordPress REST API

See details on GitHub: https://github.com/airesvsg/acf-to-rest-api/

安装

  1. Copy the acf-to-rest-api folder into your wp-content/plugins folder
  2. Activate the ACF to REST API plugin via the plugin admin page

评价

2022年7月29日 1 回复
Can't thank you enough for this plugin, saved me a stupid amount of work!
阅读所有34条评价

贡献者及开发者

“ACF to REST API” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“ACF to REST API”插件已被翻译至6种本地话语言。 感谢所有译者为本插件所做的贡献。

将“ACF to REST API”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

3.3.3

fix issue with ACF 5.12 ( https://github.com/airesvsg/acf-to-rest-api/issues/398 ) – Thanks to Jack Pallot

3.3.2

updating donation link

3.3.1

fix endpoint with field name – exemple: /wp-json/acf/v3/posts/{id}/{field-name}

3.3.0

fix vulnerabilities ( https://github.com/airesvsg/acf-to-rest-api/issues/317 ) – Thanks to Hoseta

3.2.0

moving class-acf-to-rest-api-settings.php to shared/include/admin/classes
adding donation notice
update tested up

3.1.0

fix indentation
removing unnecessary code
removing anonymous function

3.0.2

stable version

3.0.2-beta

adding fallback to get_fields
changing default value to acf field setting

3.0.1-beta

fix default params bug

3.0.0-beta

more readable endpoints ( https://github.com/airesvsg/acf-to-rest-api/issues/46 ) – Thanks to Imaginet
change return when acf filed key is empty ( https://github.com/airesvsg/acf-to-rest-api/issues/48 ) – Thanks to Joris Verbogt
multiple custom options pages ( https://github.com/airesvsg/acf-to-rest-api/issues/85 ) – Thanks to Alex Patton
bugfix ACF key in taxonomy ( https://github.com/airesvsg/acf-to-rest-api/issues/43 ) – Thanks to Cesar Denis
depreacted filter acf/rest_api/type
depreacted filter acf/rest_api/types
depreacted filter acf/rest_api/default_rest_base

2.2.1

bugfix options page id

2.2.0

get specific field via endpoints

2.1.1

bugfix term endpoint

2.1.0

adding rest base support

adding new filter acf/rest_api/default_rest_base

2.0.7

bugfix when create a new item

2.0.6

removing unnecessary code

2.0.5

changing how to check dependencies

2.0.4

fixed error when you register new fields ( via php ) and try save them

2.0.3

error fixed when register a new post with acf fields

2.0.2

adding support for options page ( add-on )

2.0.1

Bugfix strict standards

2.0.0

New version of the plugin ACF to WP REST API

Changing name ACF to WP REST API > ACF to REST API