WC_Product_Variable
Class: Variable product class.
Source: includes/class-wc-product-variable.php:16
Class: Variable product class.
Source: includes/class-wc-product-variable.php:16
Method: Get internal type.
Source: includes/class-wc-product-variable.php:44
Method: Get the add to cart button text.
Source: includes/class-wc-product-variable.php:59
Method: Get the add to cart button text description – used in aria tags.
Source: includes/class-wc-product-variable.php:69
Method: Get an array of all sale and regular prices from all variations. This is used for example when displaying the price range at variable product level or seeing if the variable product is on sale.
Source: includes/class-wc-product-variable.php:80
Action Hook: Trigger action before saving to the DB. Allows you to adjust object props before save.
Source: includes/class-wc-product-variable.php:469
Action Hook: Trigger action after saving to the DB.
Source: includes/class-wc-product-variable.php:490