WC_Product_Variable_Data_Store_Interface::untrash_variations() public WC 1.0
Untrash variations.
{} It's a method of the class: WC_Product_Variable_Data_Store_Interface{}
No Hooks.
Return
Null. Nothing.
Usage
$WC_Product_Variable_Data_Store_Interface = new WC_Product_Variable_Data_Store_Interface(); $WC_Product_Variable_Data_Store_Interface->untrash_variations( $product_id );
- $product_id(int) (required)
- Product ID.
Code of WC_Product_Variable_Data_Store_Interface::untrash_variations() WC Product Variable Data Store Interface::untrash variations WC 5.0.0
public function untrash_variations( $product_id );