REST API Custom Fields

August 14, 2020

REST API Custom Fields Plugin

This plugin enhances Wordpress REST API v2 responses about metadata

This plugin enhances WordPress REST API v2 responses about metadata.

Installation

  1. Upload “rest-api-custom-fields” folder to the “/wp-content/plugins/” directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. New item “REST API Custom Fields” appears in the admin menu (under the Settings menu). There you can select which metadata you want to contain in the REST API response.

Screenshots

  1. Settings pane

    Settings pane

Changelog

1.3

  • It is now possible to expose custom fields of custom post types

1.2

  • Exposed values can now contain arrays
  • Attributes representing custom fields moved directly under the top-level node in the response

1.1

  • Fixed db prefix

1.0

  • Init version

Details

  • Version: 1.3
  • Active installations: 1,000
  • WordPress Version: 5.0
  • Tested up to: 5.5.15
  • PHP Version: 5.6

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars