🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

Remove the „Downloads“ page from WooCommerce „My Account“

Many domesticWhen using WordPress to build a foreign trade websitefriends, when conducting B2C business, use WooCommerce for e-commerce functionality. However, after the default installation of WooCommerce, a downloads page appears in the menu on the user account (account page). For most foreign trade websites selling physical goods, this downloads page is unnecessary and may even cause user confusion. This article from Naibabiji teaches youhow to remove the „Downloads“ page from the WooCommerce „My Account“ page.

Method 1: Delete the option in settings

Go to WooCommerce Settings, Advanced, Account endpoints (WooCommerce > Settings > Advanced > Account endpoints), then delete the parameter after the downloads page and save. The downloads interface will no longer be visible on the website Frontend.

Method 2: Delete using code

The method of deleting using code is also very convenient. Simply copy the code below into your Theme functions file and save it to take effect.
function custom_my_account_menu_items( $items ) { 
unset($items['downloads']); 
return $items; 
} 
add_filter( 'woocommerce_account_menu_items', 'custom_my_account_menu_items' );
Using the above two methods, you can easily remove the downloads page from the WooCommerce account page.

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan to Follow