Backport of action woocommerce_variable_product_sync from 2.1