Tips on Customizing Ads by WPQUADS – Best Ads & Adsense Ads Plugin for WP & AMP

How to Hide AdSense Integration WP QUADS Admin Menus

function plt_hide_quick_adsense_reloaded_menus() {
	//Hide "WP QUADS".
	remove_menu_page('quads-settings');
	//Hide "WP QUADS → Ads".
	remove_submenu_page('quads-settings', 'quads-settings');
	//Hide "WP QUADS → Settings".
	remove_submenu_page('quads-settings', 'quads-settings&path=settings');
	//Hide "WP QUADS → Return to Classic view".
	remove_submenu_page('quads-settings', 'quads_switch_to_old');
	//Hide "WP QUADS → Get WP QUADS PRO".
	remove_submenu_page('quads-settings', 'quads-addons');
}

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

Where do I put this code?

How to Hide the "WP QUADS - Hide Ads" Meta Box

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

	//Hide the "WP QUADS - Hide Ads" meta box.
	remove_meta_box('quads_meta_box', $screen->id, 'advanced');
}

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