Home » Ask (Forum) » How to Remove Post Tag in WordPress Site

Question

If you want to remove Post Tag in WordPress Site. You can use this function unregister_taxonomy_for_object_type and only work for WordPress 3.7 or above.

// Remove tags support from posts
function bikin_unregister_tags() {
    unregister_taxonomy_for_object_type('post_tag', 'post');
}
add_action('init', 'bikin_unregister_tags');

Good luck!

Aug 3, 2016 (4 months ago) - Posted by No Comments

Your Answer

Your email address will not be published. Required fields are marked *