PluginProbe
WPGet API – Connect to any external REST API / 1.4.6
WPGet API – Connect to any external REST API v1.4.6
1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.1.0 2.1.1 2.1.3 2.1.4 2.1.5 2.2.0 2.2.1 2.2.10 2.2.2 2.2.3 All 97 releases
← All changes | readme.txt +58 -407 2.2.101.4.6 View file →
@@ -1,469 +1,123 @@
1 -=== WPGet API - Connect to any external REST API ===
2 -Contributors: wpgetapi, DavidAnderson, pmbaldha, DNutbourne, aporter, webulous
3 -Tags: api, external api, json, endpoint, rest, woocommerce
4 -Requires at least: 5.0
5 -Requires PHP: 7.0
6 -Tested up to: 6.7
7 -Stable tag: 2.2.10
1 +=== WPGetAPI - Connect to external API's ===
2 +Contributors: wpgetapi
3 +Tags: api, external api, rest-api, connect, custom-endpoints, endpoint, rest
4 +Requires at least: 4.0
5 +Requires PHP: 5.6
6 +Tested up to: 5.9.3
7 +Stable tag: 1.4.6
8 8 License: GPLv2 or later
9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
10 10
11 -Connect any REST API to WordPress. WPGet API enables easy API integration, allowing you to display API data without any code.
11 +Connect to external API's and display API data using a shortcode or template tag. Easily get data from external REST API's.
12 12
13 13 == Description ==
14 14
15 -Connect WordPress to external APIs, without code.
15 +WPGetAPI is the easiest way to connect WordPress with external API's, allowing you to easily get (or send) data to/from 3rd party API's and then display the returned data on your WordPress website using a shortcode or a template tag.
16 16
17 -Easily send data to any API and get data from unlimited 3rd party REST APIs. Format and display the returned data on your WordPress website using a shortcode or a template tag.
17 +The API data can be output as either a JSON string or as a PHP array, allowing you to easily format the data. You could create tables or charts from the data plus many other possibilities.
18 18
19 -https://www.youtube.com/watch?v=X50qINEs1yo
19 +### View the Demo
20 20
21 -WPGet API supports virtually all authentication methods including API keys, bearer tokens, basic auth, username/password and [OAuth 2.0 authorization](https://wpgetapi.com/downloads/oauth-2-0-authentication/?utm_campaign=OAuth&utm_medium=wporg&utm_source=readme).
21 +[Live Demo - Connecting WordPress to External API](https://wpgetapi.com/demo-connecting-wordpress-to-external-api/?utm_campaign=Demo&utm_medium=wporg&utm_source=readme)
22 22
23 -### Live Examples
24 -
25 -View our live examples of connecting to several different APIs and displaying the data in various unique ways including charts, graphs, tables and weather forecasts.
26 -
27 -[LIVE EXAMPLES - Connecting WordPress to external APIs](https://wpgetapi.com/demo-connecting-wordpress-to-external-api/?utm_campaign=Demo&utm_medium=wporg&utm_source=readme)
28 -
29 23 ### Major Features
30 24
31 - * Connect your WordPress website to any REST API
32 - * Unlimited APIs & endpoints
25 + * Connect your website to REST API's
33 26 * No coding required
34 - * Display API data using a template tag or shortcode
35 - * GET, POST, PUT, PATCH & DELETE methods
36 - * Add query string, header & body parameters
27 + * Unlimited API's & endpoints
28 + * GET requests or POST requests
29 + * Output API data using a template tag
30 + * Output API data using a shortcode
31 + * Set query string parameters
32 + * Set header parameters
33 + * Set body parameters
37 34
38 35 ### Documentation
39 36
40 -We have tons of articles and help available.
37 +View [the docs](https://wpgetapi.com/docs?utm_campaign=Docs&utm_medium=wporg&utm_source=readme) or jump to these articles below to get started:
41 38
42 39 * [Quick Start Guide](https://wpgetapi.com/docs/quick-start-guide/?utm_campaign=Docs&utm_medium=wporg&utm_source=readme)
43 40 * [Step by Step Example](https://wpgetapi.com/docs/step-by-step-example/?utm_campaign=Docs&utm_medium=wporg&utm_source=readme)
44 - * [Frequently Asked Questions](https://wpgetapi.com/docs/frequently-asked-questions/?utm_campaign=Docs&utm_medium=wporg&utm_source=readme)
45 - * [Will this work with my API?](https://wpgetapi.com/docs/will-this-work-with-my-api/?utm_campaign=OAuth&utm_medium=wporg&utm_source=readme)
41 + * [Using the Shortcode](https://wpgetapi.com/docs/using-the-shortcode/?utm_campaign=Docs&utm_medium=wporg&utm_source=readme)
42 + * [Using the Template Tag](https://wpgetapi.com/docs/using-the-template-function/?utm_campaign=Docs&utm_medium=wporg&utm_source=readme)
46 43
47 -### Extending WPGet API
44 +### Extending WPGetAPI
48 45
49 -= PRO Plugin =
50 -The **[PRO Plugin](https://wpgetapi.com/downloads/pro-plugin/?utm_campaign=Pro&utm_medium=wporg&utm_source=readme)** provides many extra features that allow you to do some more advanced things with your APIs. Features of the PRO Plugin include:
46 +The **[Pro Plugin](https://wpgetapi.com/downloads/pro-plugin/?utm_campaign=Pro&utm_medium=wporg&utm_source=readme)** extends the functionality and provides several handy features.
51 47
52 - * Actions - automate your API when an action happens on your site
53 - * Tokens - grab dynamic data without code and send to your API
54 - * Dynamic variables - a PHP solution for grabbing dynamic values
55 - * Chain API calls
56 48 * Cache API calls
57 - * Format API data into HTML
58 - * Retrieve nested data
59 - * Base64 encoded auth
60 - * XML format
49 + * Base64 encoded authorization
50 + * Connect to API's using XML format
51 + * Retrieve nested data in shortcode
52 + * Format number in shortcode
53 + * Dynamic variables in query string
54 + * Dynamic variables in endpoints
55 + * Dynamic variables in headers
56 + * Dynamic variables in body
61 57
58 +The **[Woocommerce Import](https://wpgetapi.com/downloads/woocommerce-import/?utm_campaign=Woocommerce&utm_medium=wporg&utm_source=readme)** extension allows you to import items/products/listings from your API and create Woocommerce products from these items.
62 59
63 -= API to Posts Plugin =
64 -The **[API to Posts Plugin](https://wpgetapi.com/downloads/api-to-posts/?utm_campaign=APItoPosts&utm_medium=wporg&utm_source=readme)** allows you to import API data and create WooCommerce products or custom posts from this API data. Features of the API to Posts Plugin include:
60 + * Import with click of a button
61 + * Run imports automatically in the background
62 + * Set interval of auto imports
63 + * Map API data to standard Woocomemrce fields, custom fields, categories, attributes, tags
64 + * Import & upload images
65 + * Automatic deletion old/expired products
66 + * Works with any theme
65 67
66 - * Import API data
67 - * Import from unlimited endpoints
68 - * Map API data to WordPress fields
69 - * Supports custom fields, ACF, tags, categories, custom taxonomies, images and more
70 - * Supports all standard WooCommerce fields
71 - * Create WooCommerce products from API data
72 - * Sync API to WooCommerce products & posts
73 - * Set interval of sync from every minutes up to once a week
74 -
75 -
76 -= OAuth 2.0 Authorization =
77 -The **[OAuth 2.0 Authorization](https://wpgetapi.com/downloads/oauth-2-0-authentication/?utm_campaign=OAuth&utm_medium=wporg&utm_source=readme)** plugin allows authorization of your API through the OAuth 2.0 method.
78 -
79 -
80 -### WPGet API Integrations
81 -
82 -WPGet API integrates extremely well with other WordPress plugins, allowing you to do some very cool things with your API. Click the links below for more info on these integrations.
83 -
84 -
85 - * [WooCommerce to API](https://wpgetapi.com/docs/connect-woocommerce-to-api/?utm_campaign=Integrations&utm_medium=wporg&utm_source=readme)
86 - * [WooCommerce API Product Sync](https://wpgetapi.com/docs/woocommerce-api-product-sync/?utm_campaign=Integrations&utm_medium=wporg&utm_source=readme)
87 - * [Contact Form 7 send data to API](https://wpgetapi.com/docs/send-contact-form-7-data-to-api/?utm_campaign=Integrations&utm_medium=wporg&utm_source=readme)
88 - * [WPForms send data to API](https://wpgetapi.com/docs/send-wpforms-data-to-api/?utm_campaign=Integrations&utm_medium=wporg&utm_source=readme)
89 - * [Gravity Forms send data to API](https://wpgetapi.com/docs/send-gravity-forms-data-to-api/?utm_campaign=Integrations&utm_medium=wporg&utm_source=readme)
90 - * [Charts & Tables from API data using wpDataTables](https://wpgetapi.com/docs/using-with-wpdatatables/?utm_campaign=Integrations&utm_medium=wporg&utm_source=readme)
91 -
92 -
93 -### Translating WPGet API
94 -
95 -You can translate WPGet API into your own language on [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/wpgetapi/)
96 -
97 -Here is an article to help [get started with translations](https://make.wordpress.org/polyglots/handbook/translating/first-steps/)
98 -
99 68 == Installation ==
100 69 = Requirements =
101 -* WordPress version 5.0 and later
102 -* PHP 7.2, Tested with PHP 8.2
70 +* WordPress version 4.0 and later
71 +* PHP 5.6, Tested with PHP 8.0
103 72 * cURL
104 73
105 74 = Usage =
106 75
107 -1. Go to the `WPGet API -> Setup` menu to add your APIs.
108 -2. Once your APIs are saved, a new tab is created allowing you to add endpoints.
76 +1. Go to the `WPGetAPI -> Setup` menu to add your API's.
77 +2. Once your API's are saved, a new tab is created allowing you to add endpoints.
109 78 3. Once your endpoints are saved, you can use the template tag or shortcode to connect to your API and view the data.
110 79
111 80 == Frequently Asked Questions ==
112 81
82 += Where can I find docs? =
113 83
114 -= Is WPGetAPI free? =
84 +All of our [documentation can be found here](https://wpgetapi.com/docs/?utm_campaign=Docs&utm_medium=wporg&utm_source=faq).
115 85
116 -Yes, WPGetAPI’s core features are free and will always be free.
117 -
118 -The [PRO version](https://wpgetapi.com/downloads/pro-plugin/?utm_campaign=PRO&utm_medium=wporg&utm_source=faq) is an extension that adds extra features if you are looking to do more with your API.
119 -
120 -The [API to Posts plugin](https://wpgetapi.com/downloads/api-to-posts/?utm_campaign=APItoPosts&utm_medium=wporg&utm_source=faq) is an extension that allows you to create posts or products from your API data.
121 -
122 -
123 86 = Can I connect to any REST API? =
124 87
125 -Yes, most likely. WPGetAPI handles all major methods of authorization and authentication. It will depend on the type of authentication your API is using. Please click the link to view the [types of authentication and authorization](https://wpgetapi.com/docs/authentication-authorization/?utm_campaign=Docs&utm_medium=wporg&utm_source=faq) that are available.
88 +It will depend. You should be able to connect to any REST API that uses either no authentication or uses some such combination of authentication that uses query string parameters or headers. You can add unlimited query string parameters and headers. We currently do not have the ability to use OAuth or any other multi-step authentication methods.
126 89
90 +If your API's method of authentication was to have your 'api_key' appended to the URL, you would simply add 'api_key' into the Name field and then your actual api key string into the Value field of a query paramter. This would then append these values to the URL and authenticate your API.
127 91
128 -= Can I capture form data and send to my API? =
129 -
130 -Yes, see [this article](https://wpgetapi.com/docs/send-form-data-to-api/?utm_campaign=Form&utm_medium=wporg&utm_source=faq) on how you can capture data from your forms and send the data to your API.
131 -
132 -This is perfect for lead generation forms, contact forms or really any other type form that requires you to send form data to an API.
133 -
134 -
135 92 = Can I use an XML based API? =
136 93
137 -Yes, we support XML with our [PRO Plugin](https://wpgetapi.com/downloads/pro-plugin/?utm_campaign=Pro&utm_medium=wporg&utm_source=faq)
94 +We support XML with our [Pro Plugin](https://wpgetapi.com/downloads/pro-plugin/?utm_campaign=Pro&utm_medium=wporg&utm_source=faq)
138 95
139 -
140 -= How do I connect WordPress to an API? =
141 -
142 -By using this plugin of course! Check out the video at the top of this page or visit our [Quick Start Guide](https://wpgetapi.com/docs/quick-start-guide/?utm_campaign=Quick-Start&utm_medium=wporg&utm_source=faq) to get started with connecting your WordPress website with an API.
143 -
144 -
145 96 = How do I cache API calls? =
146 97
147 -We support caching with our [PRO Plugin](https://wpgetapi.com/downloads/pro-plugin/?utm_campaign=Pro&utm_medium=wporg&utm_source=faq). It also recognises dynamic queries and will cache these individually.
98 +We support caching with our [Pro Plugin](https://wpgetapi.com/downloads/pro-plugin/?utm_campaign=Pro&utm_medium=wporg&utm_source=faq)
148 99
149 -A dynamic query might be something like these:
150 -
151 -/customer-endpoint/customer?user_id=123
152 -/customer-endpoint/customer?user_id=4567
153 -
154 -The PRO plugin recognises that whilst they are the same endpoint, they are different queries that need to be cached separately.
155 -
156 -= Where can I find docs? =
157 -
158 -All of our [documentation can be found here](https://wpgetapi.com/docs/quick-start-guide/?utm_campaign=Docs&utm_medium=wporg&utm_source=faq).
159 -
160 -
161 -= What can I do with the API data? =
162 -
163 -The API data can be output as a JSON string, stored in a PHP variable or automatically output as HTML (using PRO plugin). You can easily format the data into tables or charts plus many other possibilities.
164 -
165 -
166 100 = Will you help me if I am having trouble? =
167 101
168 -Yes! Please [visit our website](https://wpgetapi.com/?utm_campaign=Contact&utm_medium=wporg&utm_source=faq) and create a support ticket. We will help you to get your API up and running.
102 +Yes! Please [contact us](https://wpgetapi.com/contact/?utm_campaign=Contact&utm_medium=wporg&utm_source=faq) and we will get your API up and running.
169 103
104 += How do I connect WordPress to an external API? =
170 105
171 -= How do I create WooCommerce products from API data? =
106 +A good start is to visit our [Quick Start Guide](https://wpgetapi.com/docs/quick-start-guide/?utm_campaign=Quick-Start&utm_medium=wporg&utm_source=faq) as well as the rest of our docs.
172 107
173 -You can create WooCommerce products from API data (sync API to WooCommerce products) using our [API to Posts Plugin](https://wpgetapi.com/downloads/api-to-posts/?utm_campaign=APItoPosts&utm_medium=wporg&utm_source=faq)
174 108
175 109
176 -= How do I create custom posts from API data? =
177 110
178 -You can create custom posts from API data (sync API to custom posts) using our [API to Posts Plugin](https://wpgetapi.com/downloads/api-to-posts/?utm_campaign=APItoPosts&utm_medium=wporg&utm_source=faq)
179 -
180 -
181 111 == Screenshots ==
182 112
183 -1. The Setup screen where you can add your external APIs
113 +1. The Setup screen where you can add your external API's
184 114 2. Once an external API has been added, a new page will be created to setup the API endpoints
185 -3. A live demo of the output when debug mode is set to true
186 -4. An example of some raw output from an API
187 -5. Basic example of the output from an API formatted into HTML table
115 +2. A live demo of the output when debug mode is set to true
188 116
189 117
190 118 == Changelog ==
191 119
192 -= 2.2.10 - 17/Dec/2024 =
193 -
194 -* FIX: Clear Test Endpoint results when adding a new endpoint.
195 -
196 -= 2.2.9 - 28/Oct/2024 =
197 -
198 -* TWEAK: Add dismissible admin dashboard welcome notice and rate plugin notice.
199 -
200 -= 2.2.8 - 10/Sep/2024 =
201 -
202 -* COMPATIBILITY: Replace deprecated jQuery 3 code with new code.
203 -* FIX: API move up and down doesn't change API titles.
204 -
205 -= 2.2.7 - 04/Jul/2024 =
206 -
207 -* FIX: Resolved the issue of API title replaced with default name when deleting an API.
208 -* FIX: Resolved the issue of endpoint title replaced with default name when deleting an endpoint.
209 -* FIX: WPGetAPI Console error "rest_not_logged_in"
210 -
211 -= 2.2.6 - 13/Jun/2024 =
212 -
213 -* FEATURE: Added duplicate button in Endpoint.
214 -* FIX: Don't render any copy icons in non-ssl connection
215 -* FIX: Resolved the warning: "Creation of dynamic property WpGetApi_Api::$oauth2 is deprecated" in PHP 8.2.
216 -* FIX: WPGetAPI Block Widget error: "Uncaught ReferenceError: wpgetapi_block_editor is not defined" on 6.5 WordPress version.
217 -* FIX: WPGetAPI Block Widget: Fix the block widget duplicate values for the 'Select an API' dropdown.
218 -* TWEAK: Improve the readability of the code by following the semi WordPress coding standard.
219 -* TRANSLATIONS: Multiple sentences in translation function.
220 -
221 -= 2.2.5 - 08/Apr/2024 =
222 -
223 -* FIX: Resolved the warning in PHP 8.2: "Deprecated: Constant FILTER_SANITIZE_STRING is deprecated"
224 -* FIX: wpgetapi_endpoint shortcode using AJAX to trigger API call error: "Uncaught ReferenceError: jQuery is not defined"
225 -* TWEAK: Enhanced security by adding check for the user has enough access level to perform a few AJAX operations
226 -* TWEAK: Add visibilities to all PHP class methods
227 -
228 -= 2.2.4 - 05/Mar/2024 =
229 -
230 -* FIX: An issue with API Not Considering 0 as a Valid Value.
231 -* FIX: Double-quote issue in the body parameter array field value in WPGetAPI.
232 -* TWEAK: Add confirm box on deletion of API and Endpoint.
233 -
234 -= 2.2.3 (2023-10-05) =
235 -- Fix - plugin conflict with Rank Math SEO making the 'Test Endpoint' button unavailable.
236 -
237 -= 2.2.2 (2023-10-02) =
238 -- Fix - vulnerability when importing endpoints: https://www.pluginvulnerabilities.com/2023/09/07/our-proactive-monitoring-caught-an-authenticated-option-update-vulnerability-being-introduced-in-to-wpgetapi/
239 -
240 -= 2.2.1 (2023-10-02) =
241 -- Fix - add check if not array data in cURL error section.
242 -
243 -= 2.2.0 (2023-09-28) =
244 -- Update - Big UI update.
245 -- Update - Add cURL errors to test endpoint section.
246 -- New - Add timeout option to admin.
247 -- New - Set all wp_options autoload to 'no' for performance.
248 -
249 -= 2.1.5 (2023-09-19) =
250 -- Fix - move check for PRO plugin into init function rather than class construct.
251 -
252 -= 2.1.4 (2023-09-19) =
253 -- Fix - allow actions to passed when within a float(), integer(), or boolean() tag in admin for PRO plugin.
254 -
255 -= 2.1.2 (2023-09-15) =
256 -- Update - change Test Endpoint from 'a' tag to 'button' and disable it when new endpoint added and has not been saved.
257 -- New - add new filter 'wpgetapi_xml_element' for modifying the opening XML element.
258 -- Fix - override adding a border to .metabox-holder class that was being added by another plugin.
259 -
260 -= 2.1.1 (2023-09-12) =
261 -- New - add collapse button to toggle opening/closing of all endpoints.
262 -- New - add new filter: wpgetapi_modify_formatted_body_parameters.
263 -- New - add name of endpoint to endpoint title rather than 'Endpoint x'.
264 -- New - add UTF-8 encoding to XML body.
265 -
266 -= 2.1.0 (2023-09-06) =
267 -- New - add import/export options.
268 -- Update - minor CSS tweaks in admin.
269 -- Update - modify the way CMB2 enqueues JS and CSS files.
270 -
271 -= 2.0.6 (2023-08-22) =
272 -- Update - add new shortcode attribute img_link to allow linking an image when using format='html'.
273 -
274 -= 2.0.5 (2023-08-17) =
275 -- New - add some minor checks to allow new API to Posts plugin to work.
276 -- Update - modify error check codes to now capture all codes.
277 -
278 -= 2.0.4 (2023-07-31) =
279 -- Fix - float value not being formatted correctly.
280 -
281 -= 2.0.3 (2023-07-26) =
282 -- Fix - modify the check for json data being sent in parameters. Previously just looked for { } now looks for {" "}
283 -- Update - minor styling updates to admin.
284 -- New - add button for PRO plugin.
285 -
286 -= 2.0.2 (2023-07-25) =
287 -- Fix - only load css and js on wpgetapi pages.
288 -- Fix - change reload time to 200ms and do the reload on all saving including endpoints.
289 -- Update - add all available actions into actions field.
290 -- New - add option to pass results_format from args.
291 -- New - new styling for wpDataTables field.
292 -- New - add JSON_PRETTY_PRINT as default.
293 -
294 -= 2.0.1 (2023-07-19) =
295 -- New - add new action field.
296 -- Update - modify some help text.
297 -
298 -= 2.0.0 (2023-07-18) =
299 -- New - styling for actions field.
300 -- Fix - force Unique ID fields to only be lowercase and underscores.
301 -
302 -= 1.9.9 (2023-07-08) =
303 -- Fix - bug with setting JSON encode when Body POST fields are empty.
304 -- Update - changes to include Licenses page and text on that page.
305 -
306 -= 1.9.8 (2023-07-05) =
307 -- New - add ability to base64 encode body.
308 -
309 -= 1.9.7 (2023-07-03) =
310 -- Fix - reverse the last change as some APIs won't accept & values. Need to find better solution!
311 -
312 -= 1.9.6 (2023-07-02) =
313 -- New - add htmlentities function to full url to avoid changing anything to html entities.
314 -
315 -= 1.9.5 (2023-06-30) =
316 -- New - add PATCH request method.
317 -- Update - allow BODY post fields with any request method.
318 -
319 -= 1.9.4 (2023-06-22) =
320 -- New - styling changes in admin. Remove input descriptions and replace with tooltips.
321 -- Update - expand the info in many tooltips.
322 -
323 -= 1.9.3 (2023-06-22) =
324 -- New - add success and error messages when using the 'Test Endpoint' button in the admin.
325 -
326 -= 1.9.2 (2023-06-12) =
327 -- New - add new shortcode attributes for AJAX - button_id for adding an ID to the button and ajax_output for allowing to change the output div to whatever you like. This needs to be used like ajax_output="#my_div_with_id" or ajax_output="#my_div_with_class"
328 -
329 -= 1.9.1 (2023-05-18) =
330 -- Fix - error when trying to format XML as HTML.
331 -
332 -= 1.9.0 (2023-05-18) =
333 -- New - one-click copy buttons next to Template Tag and Shortcode.
334 -- New - extra styling for WPGetAPI heading that also includes small icon and version number.
335 -
336 -= 1.8.14 (2023-04-25) =
337 -- Fix - error with setting encoding to JSON encode.
338 -
339 -= 1.8.13 (2023-04-24) =
340 -- Fix - issue when using multiple ajax buttons in PRO plugin.
341 -
342 -= 1.8.12 (2023-04-21) =
343 -- Fix - passing post id through ajax button for PRO plugin.
344 -
345 -= 1.8.11 (2023-04-20) =
346 -- Fix - Set chain_delay to 0 on WordPress admin to avoid loading delays in admin.
347 -
348 -= 1.8.10 (2023-04-19) =
349 -- New - Add ability to set a delay when chaining endpoints.
350 -
351 -= 1.8.9 (2023-04-18) =
352 -- Fix - Allow multidemsnional arrays when using x-www-formurlencoded
353 -
354 -= 1.8.8 (2023-04-12) =
355 -- Compatibility - Tested with WordPress 6.2.
356 -
357 -= 1.8.7 (2023-03-24) =
358 -- Enhancement - Allow raw string data to pass through output, rather than only JSON string data.
359 -
360 -= 1.8.6 (2023-03-17) =
361 -- New - Allow raw data in POST body fields.
362 -
363 -= 1.8.5 (2023-03-16) =
364 -- New - Add new format='no_display' shortcode attribute to stop any output from the API.
365 -- New - Add new integration with chaining methods that can be used in conjunction with the PRO plugin.
366 -
367 -= 1.8.4 (2023-03-01) =
368 -- New - Add new integration with image attributes for the shortcode, to allow the display of images using the PRO plugin.
369 -
370 -= 1.8.3 (2023-02-17) =
371 -- New - Add ability to set value as boolean type.
372 -- Fix - If format is set to HTML, then set the results format as PHP array to avoid having to do it in the settings.
373 -
374 -= 1.8.2 (2023-02-14) =
375 -- New - Integration for the new AJAX button in the PRO plugin.
376 -- Fix - Allow both JSON string and PHP array format to work when format is set to HTML.
377 -
378 -= 1.8.1 (2023-02-10) =
379 -- Fix - Issue with nested JSON arrays within parameter values.
380 -- Fix - Tidy up the wording of some fields and licensing page.
381 -
382 -= 1.8.0 (2023-02-06) =
383 -- New - Gutenberg block added.
384 -- New - Admin styling updates.
385 -
386 -= 1.7.11 (2023-02-03) =
387 -- New - add ability of Pro plugin to send XML formatted data in Body POST fields.
388 -
389 -= 1.7.10 (2023-01-30) =
390 -- New - add new filter 'wpgetapi_should_we_stop' which allows us to not call the API if some condition is not met. Added to allow processing of Woocommerce tokens on successful order (Pro plugin only).
391 -- New - add new attribute 'on'. Added to allow processing of Woocommerce tokens on successful order.
392 -
393 -= 1.7.9 (2023-01-22) =
394 -- Fix - fix the handling of arrays within parameters.
395 -
396 -= 1.7.8 (2023-01-13) =
397 -- New - add new licensing and updating methods.
398 -
399 -= 1.7.7 (2023-01-10) =
400 -- New - add ability to set float and integers within parameter settings using float(number) and integer(number) syntax.
401 -- Fix - fix help link for Body parameters going to wrong page.
402 -
403 -= 1.7.6 (2023-01-09) =
404 -- Fix - fix error with DELETE not working.
405 -
406 -= 1.7.5 (2023-01-09) =
407 -- New - add DELETE method.
408 -
409 -= 1.7.4 (2022-12-06) =
410 -- Fix - small fix to allow new custom field renaming within the Custom Post Import plugin.
411 -
412 -= 1.7.3 (2022-12-02) =
413 -- New - add full response into the 'Test Endpoint' section.
414 -- Update - readme updates and 'tested up to' update.
415 -- Update - update 3 screenshots.
416 -
417 -= 1.7.2 (2022-11-08) =
418 -- New - add warning when trying to output PHP array data in shortcode.
419 -- New - remove banner for Pro plugin. No one likes ads, do they?
420 -
421 -= 1.7.1 (2022-11-02) =
422 -- Enhancement - rework the 'Test Endpoint' section in admin to make it cleaner and easier to read (again).
423 -- Enhancement - styling tweaks.
424 -
425 -= 1.7.0 (2022-10-06) =
426 -- Enhancement - rework the 'Test Endpoint' section in admin to make it cleaner and easier to read.
427 -- Enhancement - styling tweaks.
428 -- New - add banner for Pro plugin.
429 -
430 -= 1.6.1 (2022-08-25) =
431 -- Fix - modify the way the body is retrieved. Required for OAuth 2.0 Authorization plugin.
432 -
433 -= 1.6.0 (2022-08-19) =
434 -- New - add endpoint testing within the admin area.
435 -
436 -= 1.5.4 (2022-08-15) =
437 -- Fix - change response code action in version 1.5.2 to a filter.
438 -- New - updated styling for admin area.
439 -
440 -= 1.5.3 (2022-07-29) =
441 -- Enhancement - add new request method PUT.
442 -
443 -= 1.5.2 (2022-07-06) =
444 -- Enhancement - add new action to get response code. Required for OAuth 2.0 Authorization plugin.
445 -
446 -= 1.5.1 (2022-07-06) =
447 -- Enhancement - add new shortcode attributes for formatting HTML in Pro plugin.
448 -- Enhancement - minor styling tweaks.
449 -- Fix - very minor bug fixes.
450 -
451 -= 1.5.0 (2022-06-27) =
452 -- Fix - fully internationalize the plugin.
453 -
454 -= 1.4.10 (2022-06-22) =
455 -- Fix - add new filter 'wpgetapi_json_response_body_before_decode' in place of removing invalid characters from 1.4.8 as this was stripping out non-english values.
456 -
457 -= 1.4.9 (2022-06-22) =
458 -- Enhancement - rewrite some css to make endpoint page a bit nicer and add some more screenshots.
459 -
460 -= 1.4.8 (2022-06-07) =
461 -- Enhancement - remove invalid characters from JSON data that was causing a null return.
462 -
463 -= 1.4.7 (2022-05-25) =
464 -- Fix - change the redirect after saving to a javascript solution
465 -
466 120 = 1.4.6 (2022-05-24) =
467 121 - Enhancement - add new attribute 'format' within shortcode that allows formatting of a number in the Pro Plugin.
468 122
469 123 = 1.4.5 (2022-05-18) =
@@ -479,9 +133,9 @@
479 133 = 1.4.2 (2022-05-13) =
480 134 - Enhancement - readme updates and plugin links within plugin page.
481 135
482 136 = 1.4.1 (2022-05-05) =
483 -- Fix - new tab was not appearing on parameters save on setup page.
137 +- Fix - new tab was not appearing on intitial save on setup page.
484 138 - Enhancement - add new filter 'wpgetapi_admin_pages' to allow adding extra tabs.
485 139
486 140 = 1.4.0 (2022-03-17) =
487 141 - Fix - refactor the building of request args. Body was not working correctly.
@@ -494,9 +148,9 @@
494 148 = 1.3.3 (2022-03-03) =
495 149 - Enhancement - style the debug output to make it easier to understand and provide links to docs.
496 150
497 151 = 1.3.2 (2022-02-22) =
498 -- Bug fix - change parameter value fields to textarea. This allows the proper use of JSON strings within these fields.
152 +- Bug fix - change paramater value fields to textarea. This allows the proper use of JSON strings within these fields.
499 153
500 154 = 1.3.1 (2022-02-16) =
501 155 - Bug fix - error with class property name that was not allowing proper $args to be sent to remote request
502 156
@@ -527,7 +181,4 @@
527 181 - Bug fixes
528 182
529 183 = 1.0.0 (2021-10-27) =
530 184 - Initial Release
531 -
532 -== Upgrade Notice ==
533 -* 2.2.10: A fix that includes test results of the previous endpoint when adding second and onward endpoints to the API. A recommended update for all.