WooCommerce create variations from all attributes programmatically
Question
I would like to execute woocommerce_link_all_variations
that action programmatically, i know that based WC_AJAX::link_all_variations();
but when I try run this function with admin login, i am getting -1 (current_user_can( 'edit_products' ))
error, how can I do it that basically? Thanks.
https://woocommerce.wp-a2z.org/oik_api/wc_ajaxlink_all_variations/
0
woocommerce
3 years
2020-06-06T14:11:17-05:00
2020-06-06T14:11:17-05:00 0 Answers
102 views
0
Leave an answer