treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Migrate Custom Post-type from functions.php to a Standalone Plugin

  • Hi

    I see there's a huge debate going on about whether or not to place custom post-type declarations in one's functions.php. Many believe it's better to have this set up in an installed plugin so that you never lose the data... (and they have a point)

    Is it possible to migrate a custom post-type from your functions.php into an installable plugin?

    Any thoughts?