Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

413
Views
How to remove "Paypal payments" tab from My Account in Woocommerce

The Woocommerce Paypal Payments plugin adds a "Paypal payments" tab on the Woocommerce My Account page. How do I remove this tab entirely?

I have tried this snippet modified from one found here but was unsuccessful in removing the tab.

add_filter ( 'woocommerce_account_menu_items', 'misha_remove_my_account_links' );
function misha_remove_my_account_links( $menu_links ){
        
  unset( $menu_links['ppcp-paypal-payment-tokens'] );
        
  return $menu_links;
        
}
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You're on the right track! That plugin adds that tab on priority of 40. So, you could add a filter on a higher priority, let's say 50, like this:

add_filter('woocommerce_account_menu_items', 'misha_remove_my_account_links', 50);

function misha_remove_my_account_links($menu_links)
{

    unset($menu_links['ppcp-paypal-payment-tokens']);

    return $menu_links;
}

And poof! That extra tab is gone!

enter image description here

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!