Tips on Customizing KIJO Serpbook API

How to Hide the "Serpbook API" Admin Menu

function plt_hide_kijo_serpbook_api_menus() {
	//Hide the "Settings → Serpbook API" menu.
	remove_submenu_page('options-general.php', 'serpbook-api');
}

add_action('admin_menu', 'plt_hide_kijo_serpbook_api_menus', 11);

Where do I put this code?

How to Hide KIJO Serpbook API Meta Boxes

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

	//Hide the "Select Viewkey" meta box.
	remove_meta_box('sbapi_select_view_key', $screen->id, 'normal');
	//Hide the "Results" meta box.
	remove_meta_box('sbapi_results_box', $screen->id, 'normal');
}

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