Tips on Customizing Wicked Folders

How to Hide the "Wicked Folders" Admin Menu

function plt_hide_wicked_folders_menus() {
	//Hide the "Settings → Wicked Folders" menu.
	remove_submenu_page('options-general.php', 'wicked_folders_settings');
}

add_action('admin_menu', 'plt_hide_wicked_folders_menus', 10001);

Where do I put this code?

How to Hide the "Page Folders" Meta Box

function plt_hide_wicked_folders_metaboxes() {
	$screen = get_current_screen();
	if ( !$screen ) {
		return;
	}

	//Hide the "Page Folders" meta box.
	remove_meta_box('wf_page_foldersdiv', $screen->id, 'side');
}

add_action('add_meta_boxes', 'plt_hide_wicked_folders_metaboxes', 20);