Skip to content

Instantly share code, notes, and snippets.

@TheCraigHewitt
Last active December 6, 2021 12:34
Embed
What would you like to do?
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