Changeset 2238478
- Timestamp:
- 02/04/2020 04:33:39 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rest-api-helper/trunk/readme.txt
r2238475 r2238478 29 29 2. Activate the plugin through the 'Plugins' menu in WordPress 30 30 31 31 32 for enable Woo product and categories, edit rest-api-helper.php change line, or add code in wp-config.php 33 32 34 define("IMH_WOO", false); 35 33 36 to 37 34 38 define("IMH_WOO", true); 35 39 36 40 37 41 You can changing custom field for gallery (default woo using _product_image_gallery metakey), edit rest-api-helper.php change line 42 38 43 define("IMH_WOO_ACF_GALLERY", '_product_image_gallery'); 44 39 45 to 46 40 47 define("IMH_WOO_ACF_GALLERY", 'images'); 41 48 … … 46 53 47 54 for enable oneSignal Sender 55 48 56 define("IMH_ONESIGNAL_PUSH", false); 57 49 58 to 59 50 60 define("IMH_ONESIGNAL_PUSH", true); 51 61 … … 79 89 80 90 send comment using url like this: 91 81 92 http://wordpress.co.id/wp-json/wp/v2/comments?author_name=Your Name Here&[email protected]&author_name=Your Name Here&content=Your Comment Here&post=20 82 93 … … 85 96 86 97 Response is: 98 87 99 [vc_row]Hello World . . .[/vc_row] 100 88 101 Response should be: 102 89 103 <div class="row">Hello World . . .</div> 104 90 105 91 106 Add this code on wp-config.php 107 92 108 define("IMH_VC_SHORTCODE",true); 93 109
Note: See TracChangeset
for help on using the changeset viewer.