WC_Helper::_get_subscriptions_from_product_id()

Method: Get a subscription entry from product_id. If multiple subscriptions are found with the same product id and $single is set to true, will return the first one in the list, so you can use this method to get things like extension name, version, etc.

Source: includes/admin/helper/class-wc-helper.php:1135

Used by 4 functions | Uses 1 function