Disable WooCommerce Downloads

Looking to disable and remove WooCommerce downloads? All you may need is to add a filter to woocommerce_account_menu_items.

Remove WooCommerce downloads tab

To remove WooCommerce downloads, add the code below into your theme’s functions.php file.

function custom_my_account_menu_items( $items ) {
     unset( $items['downloads'] );
     return $items;
}
add_filter( 'woocommerce_account_menu_items', 'custom_my_account_menu_items' );

Note: users may still be able to access the downloads area via direct URL, therefore you should redirect them accordingly. Consider 301-redirection via the htaccess file method.