Skip to content

Instantly share code, notes, and snippets.

@TheCraigHewitt
Last active December 6, 2021 12:34
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 TheCraigHewitt/a9685506e3a943b8350977ba6bade882 to your computer and use it in GitHub Desktop.
Save TheCraigHewitt/a9685506e3a943b8350977ba6bade882 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', 15 );
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