• Unlimited downloads from €14.50/month
  • 19+ million premium assets and templates
  • Cancellable at any time
  • Templates, Mockups, Media, Fonts, +5

REST API Meta Support

by Pericror

2 Ratings

  • 5.0

Active Installations

2,000+

Last Update

4 years

Quality

D

Plugin Description

Description
Automatically stores the meta data from the
meta
field of a wordpress REST API posts (/wp-json/wp/v2/posts) or pages (/wp-json/wp/v2/pages) POST in the meta data associated with the created page or post using 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.
Inspired as a broader alternative to wp-api-yoast-meta.
Compatible with the wordpress rest api version 2.

Similar Plugins

  • Report Bug
The content on this website originates from various sources. All rights to the original content remain with the respective author. If you believe that your copyrights have been infringed by the use of content on this website, please contact us at info@plugin-guru.com. We will remove the content in question immediately.

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Collections

Create your first Collection

To create a collection, simply click on the symbol on the desired plugin.

You can see this symbol when you move the mouse over the plugin. 

Current Level

Plugin Magican

You have reached 0 views on your collections and are currently Plugin Magican. You magically help people find the right plugins and are a great asset to the community

0 of 500 views reached