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

---

Søk i utvidelser

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

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

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

# REST API Meta Support

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

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

 * [Detaljer](https://nb.wordpress.org/plugins/rest-api-meta-support/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/rest-api-meta-support/#reviews)
 * [Utvikling](https://nb.wordpress.org/plugins/rest-api-meta-support/#developers)

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

## Beskrivelse

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

## Vurderinger

![](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. november, 
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. juni, 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.

 [ Les alle 2 vurderinger ](https://wordpress.org/support/plugin/rest-api-meta-support/reviews/)

## Bidragsytere og utviklere

«REST API Meta Support» er programvare med åpen kildekode. Følgende personer har
bidratt til denne utvidelsen:

Bidragsytere

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

[Oversett “REST API Meta Support” til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/rest-api-meta-support)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/rest-api-meta-support/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/rest-api-meta-support/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/rest-api-meta-support/)
med [RSS](https://plugins.trac.wordpress.org/log/rest-api-meta-support/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.0

 * Initial Release

## Meta

 *  Versjon **1.0.0**
 *  Sist oppdatert **6 år siden**
 *  Aktive installasjoner **7 000+**
 *  WordPress-versjon ** 1.0 eller nyere **
 *  Testet opp til **5.4.19**
 *  PHP-versjon ** 7.0 eller nyere **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/rest-api-meta-support/)
 * Stikkord
 * [meta](https://nb.wordpress.org/plugins/tags/meta/)[rest](https://nb.wordpress.org/plugins/tags/rest/)
   [wp-api](https://nb.wordpress.org/plugins/tags/wp-api/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/rest-api-meta-support/advanced/)

## Vurderinger

 5 av 5 stjerner.

 *  [  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)

[Se alle omtalene](https://wordpress.org/support/plugin/rest-api-meta-support/reviews/)

## Bidragsytere

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

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/rest-api-meta-support/)

## Donér

Vil du støtte videreutviklingen av denne utvidelsen?

 [ Doner til denne utvidelsen ](https://www.pericror.com/payment/)