This code completely removes the category & tag taxonomies from WordPress which are available by default.
Put this snippet within your functions.php
within your WordPress theme.
<?php | |
/** | |
* Disable default taxonomies | |
*/ | |
function mytheme_remove_taxonomies() { | |
register_taxonomy( 'post_tag', array() ); | |
register_taxonomy( 'category', array() ); | |
} | |
add_action('init', 'mytheme_remove_taxonomies'); |