Files
woocommerce-subscriptions/includes/class-wc-subscription-line-item-removed.php
Prospress Inc a60db3815d 2.6.1
2019-09-12 11:49:11 +02:00

25 lines
546 B
PHP
Executable File

<?php
/**
* Subscription Line Item (product) Removed
*
* Line items removed from a subscription by a customer have the line_item_removed line item type. This class extends WC_Order_Item_Product to implement this line item type.
*
* @author Prospress
* @category Class
* @package WooCommerce Subscriptions
* @since 2.6.0
*/
class WC_Subscription_Line_Item_Removed extends WC_Order_Item_Product {
/**
* Get item type.
*
* @return string
* @since 2.6.0
*/
public function get_type() {
return 'line_item_removed';
}
}