From http://justintadlock.com/archives/2013/09/13/register-post-type-cheat-sheet