• Skip to primary navigation
  • Skip to content
  • Skip to footer

WordBits

WordPress Snippets | WordPress Plugin Generator

  • Browse Snippets
  • Submit A Snippet
  • Register
  • Log In

Snippets tagged: unregister post type

Unregister WordPress Post Types

Created by Metal PotatoTags: post type, unregister post type

Piece of code that I use regularly to unregister a WordPress post type. Just add/edit/remove the post type from lines 3, 4 and 5 and paste in your functions.php file.

WordBits

On This Site

  • Home
  • Snippets
  • Submit Snippet
  • Contact
  • Log In

Follow Us

  • Twitter
  • Home
  • Snippets
  • Submit Snippet
  • Contact
  • Log In

Copyright © 2019 · WordBits on Genesis Framework · WordPress · Log in