Skip to content

Instantly share code, notes, and snippets.

@jstask82
Created October 11, 2022 16:57
Show Gist options
  • Save jstask82/6dda2305ed5b0f00e9d39537da42a387 to your computer and use it in GitHub Desktop.
Save jstask82/6dda2305ed5b0f00e9d39537da42a387 to your computer and use it in GitHub Desktop.
add_action('init', function () {
unregister_taxonomy_for_object_type('post_tag', 'post');
//unregister_taxonomy_for_object_type('category', 'post');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment