Title: REST API Meta Support
Author: Pericor
Published: <strong>26 Maio, 2020</strong>
Last modified: 29 Maio, 2020

---

Procurar plugins

![](https://ps.w.org/rest-api-meta-support/assets/banner-772x250.png?rev=2312004)

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.

![](https://ps.w.org/rest-api-meta-support/assets/icon-256x256.png?rev=2312004)

# REST API Meta Support

 Por [Pericor](https://profiles.wordpress.org/pericror/)

[Descarregar](https://downloads.wordpress.org/plugin/rest-api-meta-support.zip)

 * [Detalhes](https://pt.wordpress.org/plugins/rest-api-meta-support/#description)
 * [Avaliações](https://pt.wordpress.org/plugins/rest-api-meta-support/#reviews)
 * [Desenvolvimento](https://pt.wordpress.org/plugins/rest-api-meta-support/#developers)

 [Suporte](https://wordpress.org/support/plugin/rest-api-meta-support/)

## Descrição

Automatically stores the meta data from the `meta` field of a wordpress REST API
posts ([/wp-json/wp/v2/posts](https://developer.wordpress.org/rest-api/reference/posts/#create-a-post))
or pages ([/wp-json/wp/v2/pages](https://developer.wordpress.org/rest-api/reference/pages/#create-a-page))
POST in the meta data associated with the created page or post using [update_post_meta](https://developer.wordpress.org/reference/functions/update_post_meta/).
The key / value information sent in the REST POST ‘meta’ object field is stored 
as both ‘key’ and ‘_key’ to support different plugin formats.
 For example, if trying
to set the YOAST SEO Plugin values dynamically when creating a page from the REST
API, you would simply add the fields to the meta field of the REST POST data when
you POST the endpoint, and the plugin values will be added to the page:

    ```
    {
    ...
      'meta': {
        'yoast_wpseo_title': "Title set from REST call"
        'yoast_wpseo_metadesc': "Meta description set from REST call"
      }
    ...
    }
    ```

Use this plugin when dynamically creating pages with the WordPress REST API to support
modifying plugin settings for pages/posts created using the REST API!

A guide on how to use this plugin to generate a page/post with plugins configured
from the REST API is [available at Pericror.](https://www.pericror.com/software/generating-pages-posts-plugins-using-wordpress-rest-api/)

Inspired as a broader alternative to [wp-api-yoast-meta.](https://github.com/ChazUK/wp-api-yoast-meta)

Compatible with the [wordpress rest api version 2.](http://v2.wp-api.org/)

## Avaliações

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

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-6522/)󠁿

 [mortgageyields](https://profiles.wordpress.org/mortgageyields/) 30 Novembro, 2020

Worked immediately upon activation.

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

### 󠀁[Works as Described](https://wordpress.org/support/topic/works-as-described-262/)󠁿

 [Pericor](https://profiles.wordpress.org/pericror/) 13 Junho, 2020

This plugin was developed and used to generate pages with a review plugin configured
programatically using the rest API per page and works as described.

 [ Ler todas as 2 avaliações ](https://wordpress.org/support/plugin/rest-api-meta-support/reviews/)

## Contribuidores e programadores

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

Contribuidores

 *   [ Pericor ](https://profiles.wordpress.org/pericror/)

[Traduza o “REST API Meta Support” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/rest-api-meta-support)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/rest-api-meta-support/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/rest-api-meta-support/),
ou subscreva o [registo de alterações](https://plugins.trac.wordpress.org/log/rest-api-meta-support/)
por [RSS](https://plugins.trac.wordpress.org/log/rest-api-meta-support/?limit=100&mode=stop_on_copy&format=rss).

## Registo de alterações

#### 1.0

 * Initial Release

## Metadados

 *  Versão **1.0.0**
 *  Última actualização **Há 6 anos**
 *  Instalações activas **7.000+**
 *  Versão do WordPress ** 1.0 ou superior **
 *  Testado até **5.4.19**
 *  Versão do PHP ** 7.0 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/rest-api-meta-support/)
 * Etiquetas
 * [meta](https://pt.wordpress.org/plugins/tags/meta/)[rest](https://pt.wordpress.org/plugins/tags/rest/)
   [wp-api](https://pt.wordpress.org/plugins/tags/wp-api/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/rest-api-meta-support/advanced/)

## Classificações

 5 out of 5 stars.

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

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

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

## Contribuidores

 *   [ Pericor ](https://profiles.wordpress.org/pericror/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/rest-api-meta-support/)

## Doar

Gostaria de apoiar o desenvolvimento deste plugin?

 [ Fazer donativo para o plugin ](https://www.pericror.com/payment/)