<?php
/*
Theme Designed By: Meysam Hosseinkhani
Email: Meysam98@Gmail.com
Author Website: Hosseinkhani.ir
*/ 

 if ( !defined( 'ABSPATH' ) ) {
    exit;
}

?>

<?php foreach ( wc_get_account_menu_items() as $endpoint => $label ) : ?>
    <li class="<?php echo wc_get_account_menu_item_classes( $endpoint ); ?>">
        <a href="<?php echo esc_url( wc_get_account_endpoint_url( $endpoint ) ); ?>"><?php echo esc_html( $label ); ?></a>
    </li>
<?php endforeach; ?>
<?php 
	if ( class_exists('WUPPAutoloader') ) { ?>
    <li class="woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link--customer-logout">
        <a href="<?php echo wp_logout_url( home_url() ); ?>">
            <?php _e('Logout', 'dina-kala'); ?>
        </a>
    </li>
<?php
	} 
?>