Skip to content

Instantly share code, notes, and snippets.

@coderkevin
Created December 20, 2017 21:10
Show Gist options
  • Save coderkevin/6c2ae3fe60c13597de6354658cb6ea4a to your computer and use it in GitHub Desktop.
Save coderkevin/6c2ae3fe60c13597de6354658cb6ea4a to your computer and use it in GitHub Desktop.
WooCommerce Data Store Demo - Product Inventory - Update
public function update( &$product ) {
$this->parent_instance->update( $product );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment