<?php echo $subscription->payment_method_title; ?> </p> <?php endif; ?> <?php if ($subscription->needs_shipping()): ?> <p> <strong><?php _e('Shipping Method:', 'subscriptio'); ?></strong> <?php echo $subscription->shipping['name']; ?> </p> <?php endif; ?> <p> <strong><?php _e('Related Orders:', 'subscriptio'); ?></strong> <?php foreach($subscription->all_order_ids as $order_id): ?> <?php if (Subscriptio::post_is_active($order_id)): ?> <?php Subscriptio::print_link_to_post($order_id); ?> <?php else: ?> <?php echo '#' . $order_id . ' (' . __('deleted', 'subscriptio') . ')'; ?> <?php endif; ?> <?php echo ($order_id != end($subscription->all_order_ids) ? ', ' : ''); ?> <?php endforeach; ?> </p> </div> <div class="subscription_data_content"> <h4><?php _e('Customer Details', 'subscriptio'); ?></h4> <p> <strong><?php _e('Name:', 'subscriptio'); ?></strong> <?php echo Subscriptio::get_user_full_name_link($subscription->user_id, $subscription->user_full_name); ?> </p>