Skip to content

Instantly share code, notes, and snippets.

Created October 21, 2015 09:21
What would you like to do?
Remove the 'tag' capability from posts
// Don't include the opening php tag
// Remove tags support from posts
function prefix_unregister_tags() {
unregister_taxonomy_for_object_type( 'post_tag', 'post' );
add_action('init', 'prefix_unregister_tags' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment