Home / Disable Categories and Tags
Duplicate Snippet

Embed Snippet on Your Site

Disable Categories and Tags

Disable the default taxonomies for Posts (Categories, Tags).

100+
Code Preview
php
<?php
add_action('init', function() {
    unregister_taxonomy_for_object_type('category', 'post');
    unregister_taxonomy_for_object_type('post_tag', 'post');
});

Comments

Add a Comment