Skip to content

Commit 08d5197

Browse files
Added note about wp_api is only for 2.6 or later
1 parent 4297058 commit 08d5197

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Setup for the old WooCommerce API v3:
3939
consumer_secret="cs_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
4040
)
4141
42-
Setup for the new WP REST API integration:
42+
Setup for the new WP REST API integration (WooCommerce 2.6 or later):
4343

4444
.. code-block:: python
4545
@@ -65,7 +65,7 @@ Options
6565
+--------------------+-------------+----------+-------------------------------------------------------------------------------------------------------+
6666
| ``consumerSecret`` | ``string`` | yes | Your API consumer secret |
6767
+--------------------+-------------+----------+-------------------------------------------------------------------------------------------------------+
68-
| ``wp_api`` | ``bool`` | no | Allow requests to the WP REST API |
68+
| ``wp_api`` | ``bool`` | no | Allow requests to the WP REST API (WooCommerce 2.6 or later) |
6969
+--------------------+-------------+----------+-------------------------------------------------------------------------------------------------------+
7070
| ``version`` | ``string`` | no | API version, default is ``v3`` |
7171
+--------------------+-------------+----------+-------------------------------------------------------------------------------------------------------+

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy