From 52148faf433fd9d7be148b4c65fd34778f6d88c0 Mon Sep 17 00:00:00 2001 From: Rhys Lees <43909932+RhysLees@users.noreply.github.com> Date: Tue, 14 Dec 2021 16:18:11 +0000 Subject: [PATCH] Fixes syntax error --- source/includes/wp-api-v3/_product-categories.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/wp-api-v3/_product-categories.md b/source/includes/wp-api-v3/_product-categories.md index 57405fdb..b0309b32 100644 --- a/source/includes/wp-api-v3/_product-categories.md +++ b/source/includes/wp-api-v3/_product-categories.md @@ -76,7 +76,7 @@ WooCommerce.post("products/categories", data) ```php <?php $data = [ - "name' => 'Clothing', + 'name' => 'Clothing', 'image' => [ 'src' => 'http://demo.woothemes.com/woocommerce/wp-content/uploads/sites/56/2013/06/T_2_front.jpg' ]