Skip to content

Instantly share code, notes, and snippets.

@jonathanbossenger
Forked from hlashbrooke/functions.php
Created June 26, 2019 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanbossenger/dbad93b440663117ccd0cc4faefb853b to your computer and use it in GitHub Desktop.
Save jonathanbossenger/dbad93b440663117ccd0cc4faefb853b to your computer and use it in GitHub Desktop.
Seriously Simple Podcasting: Add blog categories to podcast episodes (admin).
add_action( 'init', 'ssp_add_categories_to_podcast', 12 );
function ssp_add_categories_to_podcast () {
register_taxonomy_for_object_type( 'category', 'podcast' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment