<div class="text-center"><a href="#" class="back_to_account"><?php _e("<small>Back to</small> My Account", THB_THEME_NAME); ?> </a></div> <?php wc_get_template('myaccount/form-edit-account.php'); ?> </div> <?php if ($myaccount_subscriptions == 'on') { ?> <div class="tab-pane custom_scroll" id="my-subscriptions"> <div class="text-center"><a href="#" class="back_to_account"><?php _e("<small>Back to</small> My Account", THB_THEME_NAME); ?> </a></div> <?php if (class_exists('WC_Subscriptions')) { WC_Subscriptions::get_my_subscriptions_template(); } ?> </div> <?php } ?> </section>
/** * @return void */ public function shortcode_ndv_list_subs() { return WC_Subscriptions::get_my_subscriptions_template(); }