Created
October 13, 2016 09:02
-
-
Save joshuacharleslake/9f07253e8c7124ac2000181b044c61a3 to your computer and use it in GitHub Desktop.
Remove default 'posts' post type from wordpress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Remove Posts Post Type | |
function remove_default_post_type() { | |
remove_menu_page('edit.php'); | |
} | |
add_action('admin_menu','remove_default_post_type'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment