Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove WooPayments menu item on PayPal Payments settings pages (4049) #3008

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

stracker-phil
Copy link
Collaborator

Description

Alternative to #2956

Hides submenus in the Payments tab, when the new PayPal Settings UI is loaded.

Some plugins, such as WooPayments, may add extra sections to the checkout tab. Those extra sections are output as submenu-links at the beginning of the Payments tab.

This solution uses CSS to hide the submenu item

Copy link
Collaborator

@Narek13 Narek13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants