This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Shop_Product::get_variable_product_sale_percentage( mixed $product )

The the maximum sale percentage present for a variable product.


Parameters

$product

(Required)


Return

(mixed) The highest percentage


Source

File: includes/modules/woocommerce_booster/views/shop_product.php