Title: REST API Meta Support
Author: Pericor
Published: <strong>26.05.2020</strong>
Last modified: 29.05.2020

---

Поиск плагинов

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

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

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

# REST API Meta Support

 Автор: [Pericor](https://profiles.wordpress.org/pericror/)

[Скачать](https://downloads.wordpress.org/plugin/rest-api-meta-support.zip)

 * [Детали](https://ru.wordpress.org/plugins/rest-api-meta-support/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/rest-api-meta-support/#reviews)
 * [Разработка](https://ru.wordpress.org/plugins/rest-api-meta-support/#developers)

 [Поддержка](https://wordpress.org/support/plugin/rest-api-meta-support/)

## Описание

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

## Отзывы

![](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.11.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.06.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.

 [ Посмотреть все 2 отзыва ](https://wordpress.org/support/plugin/rest-api-meta-support/reviews/)

## Участники и разработчики

«REST API Meta Support» — проект с открытым исходным кодом. В развитие плагина внесли
свой вклад следующие участники:

Участники

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

[Перевести «REST API Meta Support» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/rest-api-meta-support)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/rest-api-meta-support/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/rest-api-meta-support/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/rest-api-meta-support/)
по [RSS](https://plugins.trac.wordpress.org/log/rest-api-meta-support/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 1.0

 * Initial Release

## Мета

 *  Версия **1.0.0**
 *  Обновление: **6 лет назад**
 *  Активных установок: **6 000+**
 *  Версия WordPress ** 1.0 или выше **
 *  Совместим вплоть до: **5.4.25**
 *  Версия PHP ** 7.0 или выше **
 *  Язык
 * [English (US)](https://wordpress.org/plugins/rest-api-meta-support/)
 * Метки:
 * [meta](https://ru.wordpress.org/plugins/tags/meta/)[rest](https://ru.wordpress.org/plugins/tags/rest/)
   [wp-api](https://ru.wordpress.org/plugins/tags/wp-api/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/rest-api-meta-support/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  2 5-звездный отзыв     ](https://wordpress.org/support/plugin/rest-api-meta-support/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/rest-api-meta-support/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/rest-api-meta-support/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/rest-api-meta-support/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/rest-api-meta-support/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/rest-api-meta-support/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/rest-api-meta-support/reviews/)

## Участники

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

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/rest-api-meta-support/)

## Пожертвование

Хотите поддержать улучшение этого плагина?

 [ Пожертвовать на развитие плагина ](https://www.pericror.com/payment/)