Function to Set Product type in Woocommerce [closed]
-
05-11-2019 - |
题
I am trying to add a subscription product with custom function in WooCommerce. I am able to add a simple product along with the post_meta
, but unable to set the product_type
for that product.
Does anyone know the function for saving product_type
in WooCommerce?
没有正确的解决方案