WC_Product_Variable_Data_Store_Interface::untrash_variations()
Untrash variations.
Method of the class: WC_Product_Variable_Data_Store_Interface{}
No Hooks.
Returns
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() WC Product Variable Data Store Interface::untrash variations code WC 9.8.5
public function untrash_variations( $product_id );