Server IP : 172.67.158.161 / Your IP : 18.118.200.161 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/home/giankuin/dietcontrungnhanh.com/wp-content/themes/flatsome/woocommerce/myaccount/ |
Upload File : |
<?php /** * Dashboard links * * @package Flatsome/WooCommerce/Templates * @flatsome-version 3.16.0 */ ?> <ul class="dashboard-links"> <?php if ( has_nav_menu( 'my_account' ) ) { ?> <?php wp_nav_menu(array( 'theme_location' => 'my_account', 'container' => false, 'items_wrap' => '%3$s', 'depth' => 1 )); ?> <?php } else if(!function_exists('wc_get_account_menu_items')) { ?> <li>Define your My Account dropdown menu in <b>Appearance > Menus</b></li> <?php } ?> <?php if(function_exists('wc_get_account_menu_items') && flatsome_option('wc_account_links')){ ?> <?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 do_action('flatsome_account_links'); ?> <?php } ?> </ul>