Adds boilerplate code for a post type and associated taxonomy.
Removes the get_posts() method.
Adds small tweaks based on Scrutinizer CI feedback. Fixes the nonce values.
Fixes a syntax error in the post type labels array.