Created
November 6, 2017 18:46
-
-
Save tonydjukic/881b0cf9a647a88ec235268a7cdb3afc to your computer and use it in GitHub Desktop.
Hide Automattic's Poll Daddy plugin's menu items from a specific user role. Using the normal remove_menu_page() and remove_submenu_page() doesn't work in this instance and I couldn't find a solid solution online, so here's what I came up with after digging into the Poll Daddy plugin itself.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment