} // END get_skip_sub_url() /** * This returns the next billing period the customer * will continue the subscription. */ public static function get_next_continued_payment($subscription) { $subscription = !is_object($subscription) ? wcs_get_subscription($subscription) : $subscription; switch ($subscription->billing_period) { case 'day': $next_subscription = ''; break; case 'week': $next_subscription = ''; break; case 'month': $next_payment = $subscription->get_date('next_payment'); $date_next_payment = $subscription->get_date_to_display('next_payment'); $next_subscription = ''; break; case 'year': $next_subscription = ''; break; } // END switch } } // END Class WCSO_Display::init();