Skip to content

Instantly share code, notes, and snippets.

@nielsvr
Created October 10, 2013 10:38
Show Gist options
  • Save nielsvr/6916403 to your computer and use it in GitHub Desktop.
Save nielsvr/6916403 to your computer and use it in GitHub Desktop.
Old WooCommerce code, how to implement now?
<?php
$test = new WC_Product($id);
$test->variable_product_sync();
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment