HomePage › Forums › Themes Support › Freshio – Organic & Food Store WordPress Theme › Disable ‘Downloads’ from account dropdown › Reply To: Disable ‘Downloads’ from account dropdown
November 10, 2020 at 8:31 am
#1349
Hi again,
Please go to file freshio/wp-content/themes/freshio/inc/woocommerce/woocommerce-template-functions.php and copy function freshio_account_dropdown() and paste into file function.php in child-theme, then remove code:
<li>
<a href="<?php echo esc_url(wc_get_account_endpoint_url('downloads')); ?>"
title="<?php esc_html_e('Downloads', 'freshio'); ?>"><?php esc_html_e('Downloads', 'freshio'); ?></a>
</li>
If you need to help, please send admin web account for me, I will check and help you