Skip to content

Instantly share code, notes, and snippets.

@hlashbrooke
Last active June 26, 2019 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hlashbrooke/f2e466603ffe48e134be to your computer and use it in GitHub Desktop.
Save hlashbrooke/f2e466603ffe48e134be 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' );
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