{"id":50383,"date":"2016-08-19T23:15:07","date_gmt":"2016-08-19T23:15:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/rest-api-helper\/"},"modified":"2022-01-02T16:25:29","modified_gmt":"2022-01-02T16:25:29","slug":"rest-api-helper","status":"publish","type":"plugin","link":"https:\/\/ar.wordpress.org\/plugins\/rest-api-helper\/","author":11559651,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.2.8","stable_tag":"trunk","tested":"5.3.21","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"REST API Helper","header_author":"JasmanXcrew","header_description":"","assets_banners_color":"","last_updated":"2022-01-02 16:25:29","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/ihsana.com\/","header_plugin_uri":"http:\/\/ihsana.net\/","header_author_uri":"http:\/\/ihsana.net\/","rating":5,"author_block_rating":0,"active_installs":600,"downloads":22626,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2238468,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2238468,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[37255,1118,32184,2429,23853],"plugin_category":[],"plugin_contributors":[83510],"plugin_business_model":[],"class_list":["post-50383","plugin","type-plugin","status-publish","hentry","plugin_tags-ionic","plugin_tags-json","plugin_tags-json-api","plugin_tags-mobile-app","plugin_tags-rest-api","plugin_contributors-jasmanxcrew","plugin_committers-jasmanxcrew"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/rest-api-helper\/assets\/icon-128x128.png?rev=2238468","icon_2x":"https:\/\/ps.w.org\/rest-api-helper\/assets\/icon-256x256.png?rev=2238468","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin help REST API for display featured media source, author, categories, and custom fields. \nThis plugin is made for <a href=\"https:\/\/goo.gl\/qznlXo\">Ionic Mobile App Builder<\/a>, suitable used for ionic framework. \nThis plugin also support for display custom field in metabox and also make it allow crossorigin only for json files. Compatible with wp-restapi2 and json-api.<\/p>\n\n<p>Features:\n* Product listing without Woo API\n* REST-API Auth Basic\n* Fix CORS and Preflight CORS (Example Issue: Request header field ....... is not allowed by Access-Control-Allow-Headers in preflight response.)\n* Woo ACF Gallery\n* Gallery JSON Array or Object\n* One Signal Push\n* Custom Field Support\n* Fix issue render VisualComposer ([vc_row]Hello World . . .[\/vc_row])<\/p>\n\n<h3>Woocommerce<\/h3>\n\n<p>for enable Woo product and categories without authorization, add this code in wp-config.php<\/p>\n\n<pre><code>define(\"IMH_WOO\", true);\n<\/code><\/pre>\n\n<p>You can changing custom field for gallery (default woo using _product_image_gallery metakey), add this line<\/p>\n\n<pre><code>define(\"IMH_WOO_ACF_GALLERY\", 'images'); \n<\/code><\/pre>\n\n<p>and for type data object or string (default string, separator with coma)<\/p>\n\n<pre><code>define(\"IMH_WOO_ACF_GALLERY_OBJECT\", false);\n<\/code><\/pre>\n\n\n\n<h3>OneSignal Sender<\/h3>\n\n<p>for enable oneSignal Sender add this code in wp-config.php<\/p>\n\n<pre><code>define(\"IMH_ONESIGNAL_PUSH\", true);\n<\/code><\/pre>\n\n<p>then fix your app_id and app_key<\/p>\n\n<pre><code>define(\"IMH_ONESIGNAL_PUSH\", false);\ndefine(\"IMH_ONESIGNAL_PAGE_IN_APP\", 'post_singles'); \/\/this additional data (key: page and value: post_singles\/post_id)\ndefine(\"IMH_ONESIGNAL_APP_ID\", '31ee45e2-c63d-4048-903a-89ca43f3afa2');\ndefine(\"IMH_ONESIGNAL_APP_KEY\", 'YzUzNmZkOTAtMmVlMC00OWIzLThlNGQtMzQyYzzyNmFhZjcw');\n<\/code><\/pre>\n\n\n\n<h3>Anonymous Comments<\/h3>\n\n<p>You can allow anonymous comments using configuration:<\/p>\n\n<pre><code>define(\"IMH_ALLOW_PREFLIGHT_CORS\",true); \/\/required for method post\ndefine(\"IMH_ANONYMOUS_COMMENTS\",true);\n<\/code><\/pre>\n\n<p>send comment using url like this:<\/p>\n\n<pre><code>http:\/\/wordpress.co.id\/wp-json\/wp\/v2\/comments?author_name=Your Name Here&amp;author_email=your-email-address@website-address-here.com&amp;author_name=Your Name Here&amp;content=Your Comment Here&amp;post=20\n<\/code><\/pre>\n\n\n\n<h3>Register REST-API<\/h3>\n\n<p>You can allow register new user using configuration:<\/p>\n\n<pre><code>define(\"IMH_RESTAPI_REGISTER\",true); \n<\/code><\/pre>\n\n<p>End Point:<\/p>\n\n<pre><code>https:\/\/wordpress.co.id\/wp-json\/wp\/v2\/users\/register\n<\/code><\/pre>\n\n\n\n<h3>Visual Composer<\/h3>\n\n<p>Fix issue render VisualComposer Content<\/p>\n\n<p>Response is:\n[vc_row]Hello World . . .[\/vc_row]\nResponse should be:<\/p>\n\nHello World . . .\n\n<p>add this code in wp-config.php<\/p>\n\n<pre><code>define(\"IMH_VC_SHORTCODE\",true);\n<\/code><\/pre>\n\n\n\n<h3>Credits<\/h3>\n\n<ul>\n<li><a href=\"https:\/\/ihsana.com\">Ihsana Global Solusindo<\/a><\/li>\n<li><a href=\"ihsana.com\/i\/?u=imabuilder\">IMA BuildeRz - Ionic Mobile App Builder + Code Generator <\/a><\/li>\n<li><a href=\"https:\/\/ihsana.com\/i\/?u=iwpdev\">iWP-DevToolz - WordPress Plugin Maker + Code Generator <\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Unzip and Upload <code>rest-api-helper.zip<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p>here are some of the changes that have been made:<\/p>\n\n<pre><code>Changelog 1.7 \n* add option page\n* content render for shortcode visual composer\n\nChangelog 1.8 \n* add woo support\n\nChangelog 2.1.1 \n* fix woo issue\n\nChangelog 2.1.2 \n* add custom field support\n\nChangelog 2.1.3 \n* add custom field for gallery support \n\nChangelog 2.1.4 \n* fix permalink for woo\n\nChangelog 2.1.5 \n* Add onesignal sender\n\nChangelog 2.1.6 \n* Add Woocommerce attributes\n\nChangelog 2.1.7 \n* Fix issue attributes\n\nChangelog 2.1.8 \n* Improved: support Very Simple Event List\n\nChangelog 2.1.9 \n* Improved: for keep configuration is not lost after update, save your config in wp-config.php\n\nChangelog 2.2.0 \n* Add Basic Auth Support\n\nChangelog 2.2.1 \n* Add preflight support for post\n\nChangelog 2.2.2 \n* Add OneSignal Sender Page\n\nChangelog 2.2.3 \n* Add option allow anonymous comments\n\nChangelog 2.2.4 \n* Fix error on post-edit\n\nChangelog 2.2.5 \n* Improved content render for shortcode visual composer\n\nChangelog 2.2.6 \n* Fix bug: blank page on edit post\n\nChangelog 2.2.7 \n* Add register API\n\nChangelog 2.2.8 \n* Fix image featured issue\n<\/code><\/pre>","raw_excerpt":"This plugin help REST API for display featured media source, author, categories, and custom fields.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/50383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=50383"}],"author":[{"embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jasmanxcrew"}],"wp:attachment":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=50383"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=50383"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=50383"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=50383"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=50383"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=50383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}