The “Payments” tab in the WordPress admin sidebar menu, introduced in newer versions of WooCommerce, is designed to provide a centralized and streamlined management interface for handling payment-related settings and configurations.
Another significant reason for this tab is to promote WooPayments, the platform’s native payment solution. This service integrates tightly with WooCommerce and offers seamless checkout experiences, built-in subscriptions, and real-time payment tracking.
So, if you’ve always wanted to get rid of it, here’s a quick snippet that will do the trick! Don’t worry — it’s simple, efficient, and won’t require you to install any extra plugins. Let’s dive into the code and clean up the admin sidebar in just a few minutes!

PHP Snippet: Hide WooCommerce “Payments” Link @ WordPress Dashboard Sidebar Menu
/**
* @snippet Remove "Payments" Tab | WordPress Dashboard
* @tutorial https://businessbloomer.com/woocommerce-customization
* @author Rodolfo Melogli, Business Bloomer
* @compatible WooCommerce 10
* @community https://businessbloomer.com/club/
*/
add_action( 'admin_menu', 'bbloomer_remove_payments_from_wp_sidebar_menu', 9999 );
function bbloomer_remove_payments_from_wp_sidebar_menu() {
remove_menu_page( 'admin.php?page=wc-settings&tab=checkout' );
remove_menu_page( 'admin.php?page=wc-admin&path=/wc-pay-welcome-page' );
remove_menu_page( 'admin.php?page=wc-admin&task=payments' );
remove_menu_page( 'admin.php?page=wc-admin&task=woocommerce-payments' );
remove_menu_page( 'admin.php?page=wc-settings&tab=checkout&from=PAYMENTS_MENU_ITEM' );
}









The latest Woo releases need the following code to remove the link from Menu
Thank you!
Hi, I used the above code and it worked perfectly.
But after the woo update (9.9.5) the payment menu appeared again..!!!
After many experiments, I found out that in my case, the payment menu disappeared with the following code..
Is it correct..? Has anyone else had the same problem..??
P.S. Thanks a lot for all the snippets you share with us
Thank you! Other people had the same problem, see the other comments
After updating to WooCommerce v9.9.3 the code stopped working, so I had to change the line:
to:
Thanks!
Ok, it worked now after I added all snippet rows. Thought, the last two would be sufficient.. thanks again!
Great!
Hello Rodolfo,
it reappeared again, even with all the snippets. Do youor somebody else experience this as well?
Would there be another fix?
Hi Marco! Can you try with https://www.businessbloomer.com/woocommerce-remove-payments-from-wordpress-sidebar-admin-menu/#comment-1024712
Great, thank you all!
They shouldn’t have added payments to the main menu. How often to people change payment setting, very least. If someone set payment for once, it’s mostly remains the same.
Yep I agree
Update to my question yesterday: I’ve solved the issue of hiding the Payments tab in my admin panel. The slug for the Payments tab in my WordPress Admin Panel is ‘admin.php?page=wc-admin&task=payments’. The code with the new slug works like a charm for all user roles. Thanks. Please continue the good deed you are doing by posting small snippets that is helpful to DIYers like me.
Thank you! This helped me improve the code snippet, try the new version please and let me know
Thanks! Was a really annoying feature.
Yay!
Dear Rodolfo,
This code snippet does not remove the Payments tab in WordPress Admin Panel. What am I doing wrong. I have added this in the Code Snippets plugin like I’ve done with two other snippets from your repository. For some reason, this one doesn’t seem to work.
Uhm, let’s see. Do you use WooPayments or is the WooPayments plugin installed maybe?
Hi,
as indicated on this link: https://github.com/woocommerce/woocommerce/issues/39668#issuecomment-1677189449
click on no thanks and the menu will disappear with the code provided.
Thank you for your snippet
Cool, thank you, but I actually prefer not to click on anything and just remove it