How to Hide or Remove Tags Menu From WordPress Admin Dashboard

    function wpdocs_unregister_tags_for_posts() {
     unregister_taxonomy_for_object_type( 'post_tag', 'post' );
    }
    add_action( 'init', 'wpdocs_unregister_tags_for_posts' );

I am going to add above code in my site-specific plugin, You can add in child theme’s functions.php file.

Site Specific Plugin Tutorial: //jlwp-187450.easywp.com/wordpress-functions-php-plugin/
WordPress Child Theme Tutorial: //jlwp-187450.easywp.com/wordpress-child-theme/


You May Also Like

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.