Created
November 19, 2014 17:08
-
-
Save wpmark/bb172f9b6aad56bfa10e to your computer and use it in GitHub Desktop.
WordPress Remove Top Level Admin Menu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This throws a PHP error.
It should be like this:
remove_menu_page( 'edit.php' ); // parent slug