PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 2.2.0
Subscriptions for WooCommerce with Stripe Recurring Payments v2.2.0
2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.11.2 1.11.1 1.11.0 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.6 1.9.5 trunk 1.3.0 1.3.1 1.3.2 1.4.0 All 65 releases
← All changes | includes/Admin/PlanPresenter.php +0 -2 2.4.0 → 2.2.0 View file →
@@ -10,9 +10,8 @@
10 10 */
11 11
12 12 namespace SpringDevs\Subscription\Admin;
13 13
14 -use SpringDevs\Subscription\Illuminate\Helper;
15 14 use SpringDevs\Subscription\Illuminate\Plans\PlanRepository;
16 15
17 16 /**
18 17 * Plan presenter.
@@ -151,9 +150,8 @@
151 150 'base_price' => ( $product && ! $is_variable ) ? self::money( (float) $product->get_price() ) : '',
152 151 'one_time_on' => $product ? ( 'yes' === $product->get_meta( '_subscrpt_one_time_enabled' ) ) : false,
153 152 'ot_regular' => ( $product && ! $is_variable ) ? self::one_time_price( $product ) : '',
154 153 'ot_offer' => ( $product && ! $is_variable ) ? (string) $product->get_sale_price() : '',
155 - 'user_cancel' => $product ? Helper::can_user_cancel( $product->get_meta( '_subscrpt_user_cancel' ) ) : true,
156 154 'edit_url' => get_edit_post_link( $oid, 'raw' ),
157 155 'view_url' => get_permalink( $oid ),
158 156 'rows' => array(),
159 157 'variations' => array(),