Last active
December 20, 2017 21:09
-
-
Save coderkevin/9d10818a5b7dbf8dcb9318c36148a7e0 to your computer and use it in GitHub Desktop.
WooCommerce Data Store Demo - Product Inventory - Constructor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class WC_Product_Inventory_Data_Store | |
implements WC_Object_Data_Store_Interface, WC_Product_Data_Store_Interface { | |
public function __construct( &$parent_data_store ) { | |
$this->parent_instance = $this->create_parent_instance( $parent_data_store ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment