Viewing 1 replies (of 1 total)
  • Plugin Author vaakash

    (@vaakash)

    Hi,

    Please use the code below.

    add_action('admin_menu', 'my_remove_sub_menus');
    
    function my_remove_sub_menus() {
        remove_submenu_page('edit.php?post_type=shortcoder', 'edit-tags.php?taxonomy=sc_tag&post_type=shortcoder');
        remove_submenu_page('edit.php?post_type=shortcoder', 'settings');
    }

    Thanks,
    Aakash

Viewing 1 replies (of 1 total)
  • The topic ‘Remove it from menu’ is closed to new replies.