Remove the Projects Post Type from WordPress Jul 10, 2020 | WordPress function remove_x_projects(){ unregister_post_type( 'project' ); } add_action('init','remove_x_projects'); Removes the annoying Projects post type from WordPress.