WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Pericor v1.0.0

REST API Meta Support

Stores meta data (i.e plugin settings) from the meta field of a WP REST API posts or pages POST creation call in the created page or post meta data.

REST API Meta Support

The facts

Rating
5★ from 2
Active installs
6k+
Price
Free
Last updated
29 May 2020
Added
May 2020
Requires WP
1.0
Tested up to
WP 5.4.21
Requires PHP
7.0
Downloads
8,860

Our analysis

AI-assisted

REST API Meta Support is a WordPress plugin that automatically stores meta data from the REST API when creating posts or pages. It captures key/value information from the 'meta' object field in the REST POST request and saves it using the update_post_meta function, allowing for dynamic configuration of plugin settings like Yoast SEO during page creation.

This plugin is suitable for developers or site owners who use the WordPress REST API to create content and need to ensure that associated meta data is correctly stored and formatted for various plugins. It is particularly useful for those looking to streamline the integration of SEO settings when generating pages through API calls.

Best for: This plugin suits developers and site owners using the WordPress REST API for dynamic content creation.

What it does well

  • Automatically stores meta data from REST API posts and pages
  • Supports dynamic configuration of plugins like Yoast SEO
  • Saves data in both 'key' and '_key' formats for compatibility
  • Compatible with WordPress REST API version 2

Where it falls short

  • Limited information on additional features or customisation options

Verdict

REST API Meta Support provides a straightforward solution for managing meta data during REST API interactions. It is particularly beneficial for those needing to integrate SEO settings dynamically.

From the developer

Pericor's own description of REST API Meta Support, lightly tidied.

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.

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for integrating services.

LocoAI

LocoAI

89

LocoAI - Auto Translate For Loco Translate is a powerful tool for developers looking to quickly translate thei...

Free 70k+ installs 4.9★ (637)
Uncanny Automator

The AI + Automation plugin for WordPress. Automate workflows across all your plugins and apps, add an AI agent...

Free 40k+ installs 4.9★ (156)
Open User Map

Create custom interactive maps with free Leaflet-based styles, no Google Maps API key, frontend marker submiss...

Free 10k+ installs 5★ (67)
Activity Log

Monitor every change on your WordPress site — who did what, when, and where it came from — for a complete audi...

Free 200k+ installs 4.3★ (74)
Reviews Feed

No API key required. Display Yelp and Google reviews for any business in a clean, customizable feed on your si...

Free 100k+ installs 4.4★ (34)
Bit integrations

Contact Form, Google Sheet, MailChimp, Brevo, Webhook, Zoho CRM Automation and Integration plugin that Connect...

Free 20k+ installs 4.9★ (160)