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

Fix the WC admin not working #12

Merged
merged 2 commits into from Jan 9, 2020
Merged

Fix the WC admin not working #12

merged 2 commits into from Jan 9, 2020

Conversation

@akshitsethi
Copy link
Collaborator

akshitsethi commented Jan 9, 2020

I tried to implement the other way of removing menus but did not work well. There is no way to remove the default menu items but only re-arrange them.

So, I checked the plugin code for WooCommerce Admin to see how the menus are implemented and added the required exception to the plugin to ignore the menu from deletion if the plugin menu is present.

@akshitsethi akshitsethi requested a review from dz0ny Jan 9, 2020
@dz0ny
dz0ny approved these changes Jan 9, 2020
@akshitsethi akshitsethi merged commit 5e74ceb into master Jan 9, 2020
1 check passed
1 check passed
On master or PR
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.