REST API Helper

Description

This plugin help REST API for display featured media source, author, categories, and custom fields.
This plugin is made for Ionic Mobile App Builder, suitable used for ionicframework. This plugin also support for display custom field in metabox and also make it allow crossorigin only for json files. Compatible with rest-api2 and json-api.

Changelog 1.7

  • add option page
  • content render for shortcode visual composer

Changelog 1.8

  • add woo support

Changelog 2.1.1

  • fix woo issue

Changelog 2.1.2

  • add custom field support

Changelog 2.1.3

  • add custom field for gallery support

Changelog 2.1.4

  • fix permalink for woo

Credits

Installation

  1. Unzip and Upload rest-api-helper.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

for enable Woo product and categories, edit rest-api-helper.php change line
php
define("IMH_WOO", false);

to
php
define("IMH_WOO", true);

You can changing custom field for gallery (default woo using _product_image_gallery metakey), edit rest-api-helper.php change line
php
define("IMH_WOO_ACF_GALLERY", '_product_image_gallery');

to
php
define("IMH_WOO_ACF_GALLERY", 'images');

and for type data object or string (default string, separator with coma)
php
define("IMH_WOO_ACF_GALLERY_OBJECT", false);

FAQ

Installation Instructions
  1. Unzip and Upload rest-api-helper.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

for enable Woo product and categories, edit rest-api-helper.php change line
php
define("IMH_WOO", false);

to
php
define("IMH_WOO", true);

You can changing custom field for gallery (default woo using _product_image_gallery metakey), edit rest-api-helper.php change line
php
define("IMH_WOO_ACF_GALLERY", '_product_image_gallery');

to
php
define("IMH_WOO_ACF_GALLERY", 'images');

and for type data object or string (default string, separator with coma)
php
define("IMH_WOO_ACF_GALLERY_OBJECT", false);

Contributors & Developers

“REST API Helper” is open source software. The following people have contributed to this plugin.

Contributors