/*
Theme Name:   Elite Perfume 1
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      1.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/

add_filter( 'woocommerce_my_account_shortcode_args', function( $args ) {
    $args['show_navigation'] = false;
    return $args;
});

add_action( 'template_redirect', function() {
    if ( is_account_page() ) {
        remove_action( 'woocommerce_account_navigation', 'woocommerce_account_navigation' );
    }
});
