WC_Product_Variable_Data_Store_Interface::untrash_variations()publicWC 1.0

Untrash variations.

Method of the class: WC_Product_Variable_Data_Store_Interface{}

No Hooks.

Return

null. Nothing (null).

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.

WC_Product_Variable_Data_Store_Interface::untrash_variations() code WC 9.0.1

public function untrash_variations( $product_id );