Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

ACF to REST API

Descrição

Exposes Advanced Custom Fields Endpoints in the WordPress REST API

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

Instalação

  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

Perguntas frequentes

Installation Instructions
  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

Avaliações

1 de Julho, 2019
I was able to pull out all the ACF fields from a custom post via the REST API in a matter of moments. Works exactly as expected.
Ler todas as 23 avaliações

Contribuidores e programadores

“ACF to REST API” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

“ACF to REST API” foi traduzido para 2 locales. Obrigado aos tradutores pelas suas contribuições.

Traduza o “ACF to REST API” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registo de alterações

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