Tips on Customizing Quiz Maker

How to Hide Quiz Maker Admin Menus

function plt_hide_quiz_maker_menus() {
	//Hide "Quiz Maker".
	remove_menu_page('quiz-maker');
	//Hide "Quiz Maker → Quizzes".
	remove_submenu_page('quiz-maker', 'quiz-maker');
	//Hide "Quiz Maker → Questions".
	remove_submenu_page('quiz-maker', 'quiz-maker-questions');
	//Hide "Quiz Maker → Quiz Categories".
	remove_submenu_page('quiz-maker', 'quiz-maker-quiz-categories');
	//Hide "Quiz Maker → Question Categories".
	remove_submenu_page('quiz-maker', 'quiz-maker-question-categories');
	//Hide "Quiz Maker → Custom Fields".
	remove_submenu_page('quiz-maker', 'quiz-maker-quiz-attributes');
	//Hide "Quiz Maker → Orders".
	remove_submenu_page('quiz-maker', 'quiz-maker-quiz-orders');
	//Hide "Quiz Maker → Results".
	remove_submenu_page('quiz-maker', 'quiz-maker-results');
	//Hide "Quiz Maker → Dashboard".
	remove_submenu_page('quiz-maker', 'quiz-maker-dashboard');
	//Hide "Quiz Maker → General Settings".
	remove_submenu_page('quiz-maker', 'quiz-maker-settings');
	//Hide "Quiz Maker → Featured Plugins".
	remove_submenu_page('quiz-maker', 'quiz-maker-featured-plugins');
	//Hide "Quiz Maker → PRO Features".
	remove_submenu_page('quiz-maker', 'quiz-maker-quiz-features');
}

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

Where do I put this code?

How to Hide the "Quiz Maker Status" Dashboard Widget

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

	//Remove the "Quiz Maker Status" widget.
	remove_meta_box('quiz-maker', 'dashboard', 'normal');
}

add_action('wp_dashboard_setup', 'plt_hide_quiz_maker_dashboard_widgets', 20);