This repository has been archived on 2022-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
divi/includes/builder/frontend-builder/theme-builder/WoocommerceProductVariationPlaceholder.php
2021-12-07 11:08:05 +00:00

22 lines
605 B
PHP

<?php
/**
* Class ET_Theme_Builder_Woocommerce_Product_Variation_Placeholder
*
* Display variation (child of variable) placeholder product on Theme Builder. This needs to be
* explicitly defined in case WC add-ons relies on any of variation's method.
*/
class ET_Theme_Builder_Woocommerce_Product_Variation_Placeholder extends WC_Product_Variation {
/**
* Get internal type.
* Define custom internal type so custom data store can be used to bypass database value retrieval
*
* @since 4.3.3
*
* @return string
*/
public function get_type() {
return 'tb-placeholder-variation';
}
}