Which hook is triggered when create/edit product with API ?
-
Hello,
I would like which hook/action I can use to know when a product is created/edited by using remote woocommerce API ?
I need to get the data sent into parameters in the POST request.
Is there any hook for that?
I tried to use add_action(‘woocommerce_api_create_product’) or add_action(woocommerce_rest_insert_product_object) but it never triggers…
Thanks for uour help,
Best Regards,
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Which hook is triggered when create/edit product with API ?’ is closed to new replies.