HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/shoetique/wp-content/themes/north-wp/woocommerce/myaccount/my-account.php
<?php
/**
 * My Account page
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     2.0.0
 */

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

global $woocommerce, $yith_wcwl;

?>
<?php 
$myaccount_ad_link = ot_get_option('myaccount-ad-link') ? ot_get_option('myaccount-ad-link') : '#';
$myaccount_subscriptions = ot_get_option('myaccount-subscriptions', 'off');
$column = $yith_wcwl ? 'large-4' : 'large-6';
?>
<div id="my-account-main" class="page-padding">
	<div class="account_wrapper custom_scroll">
		<div class="row full-width-row">
			<?php if ($myaccount_subscriptions == 'off') { ?>
			<div class="small-12 medium-6 large-4 columns">
				<a href="<?php echo $myaccount_ad_link; ?>" class="account-icon-box image">
				</a>
			</div>
			<?php } ?>
			<div class="small-12 medium-6 large-4 columns">
				<a href="#my-orders" class="account-icon-box">
					<div>
						<span class="icon my-orders"></span><br>
						<?php _e("MY ORDERS", 'north'); ?>
					</div>
				</a>
			</div>
			<?php if ($yith_wcwl) { ?>
			<div class="small-12 medium-6 large-4 columns">
				<a href="<?php echo $yith_wcwl->get_wishlist_url(); ?>" class="account-icon-box">
					<div>
						<span class="icon wishlist"></span><br>
						<?php _e("MY WISHLIST", 'north'); ?>
					</div>
				</a>
			</div>
			<?php } ?>
			<?php if ($myaccount_subscriptions == 'on') { ?>
			<div class="small-12 medium-6 large-4 columns">
				<a href="#my-subscriptions" class="account-icon-box">
					<div>
						<span class="icon my-subscriptions"></span><br>
						<?php _e("MY SUBSCRIPTIONS", 'north'); ?>
					</div>
				</a>
			</div>
			<?php } ?>
			<div class="small-12 medium-6 large-4 columns">
				<a href="#address-book" class="account-icon-box">
					<div>
						<span class="icon my-adresses"></span><br>
						<?php _e("MY ADDRESSES", 'north'); ?>
					</div>
				</a>
			</div>
			<div class="small-12 medium-6 <?php echo $column; ?> columns">
				<a href="#edit-account" class="account-icon-box">
					<div>
						<span class="icon my-account"></span><br>
						<?php _e("MY ACCOUNT", 'north'); ?>
					</div>
				</a>
			</div>
			<div class="small-12 medium-6 <?php echo $column; ?> columns">
				<a href="<?php echo wp_logout_url(); ?>" class="account-icon-box logout">
					<div>
						<span class="icon logout"></span><br>
						<?php _e("LOGOUT", 'north'); ?>
					</div>
				</a>
			</div>
		</div>
	</div>
</div>
<section class="my_woocommerce_page page-padding">
	<div class="tab-pane custom_scroll" id="my-orders">
	
		<div class="text-center"><a href="#" class="back_to_account"><?php _e("<small>Back to</small> My Account", 'north'); ?></a></div>
		<?php wc_get_template( 'myaccount/my-orders.php', array( 'order_count' => $order_count ) ); ?>
	
	</div>
	
	<div class="tab-pane custom_scroll" id="address-book">
	
		<div class="text-center"><a href="#" class="back_to_account"><?php _e("<small>Back to</small> My Account", 'north'); ?></a></div>
		<?php wc_get_template( 'myaccount/my-address.php' ); ?>
	
	</div>	
	
	<div class="tab-pane custom_scroll" id="edit-account">
	
		<div class="text-center"><a href="#" class="back_to_account"><?php _e("<small>Back to</small> My Account", 'north'); ?></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", 'north'); ?></a></div>
		<?php if (class_exists('WC_Subscriptions')) { WC_Subscriptions::get_my_subscriptions_template(); } ?>
	
	</div>
	<?php } ?>
</section>