- 
		Home
	
 
	- 
Download List Block with Icons
 
-  Tips 
 
	
function plt_hide_download_list_block_with_icons_menus() {
	//Hide "Media → Download Lists".
	remove_submenu_page('upload.php', 'edit-tags.php?taxonomy=dl_icon_lists&post_type=attachment');
	//Hide "Settings → Download List Block with Icons".
	remove_submenu_page('options-general.php', 'downloadlist_settings');
	//Hide "Download List Icons".
	remove_menu_page('edit.php?post_type=dl_icons');
	//Hide "Download List Icons → All Icons".
	remove_submenu_page('edit.php?post_type=dl_icons', 'edit.php?post_type=dl_icons');
	//Hide "Download List Icons → Add new Icon".
	remove_submenu_page('edit.php?post_type=dl_icons', 'post-new.php?post_type=dl_icons');
	//Hide "Download List Icons → Iconsets".
	remove_submenu_page('edit.php?post_type=dl_icons', 'edit-tags.php?taxonomy=dl_icon_set&post_type=dl_icons');
}
add_action('admin_menu', 'plt_hide_download_list_block_with_icons_menus', 11);
 Where do I put this code?