WC_Product_Variable_Data_Store_Interface::untrash_variations()
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() WC Product Variable Data Store Interface::untrash variations code WC 8.7.0
public function untrash_variations( $product_id );