$woocommerce->post(…) not working
-
Hello,
I am trying to send a post request for webhooks and in the WooCommerce documentation, I found that the way to do it is with:
$woocommerce->post(‘webhooks’, $data);But it gives me an error “Call to undefined method WooCommerce::post() in …”
I suppose that I’m not doing something right. Can you please suggest something?Thank you.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘$woocommerce->post(…) not working’ is closed to new replies.