How to Hide WP Dummy Content Generator Admin Menus

function plt_hide_wp_dummy_content_generator_menus() {
	//Hide "Dummy Content Generator".
	remove_menu_page('wp_dummy_content_generator-dashboard');
	//Hide "Dummy Content Generator → Dummy Content Generator".
	remove_submenu_page('wp_dummy_content_generator-dashboard', 'wp_dummy_content_generator-dashboard');
	//Hide "Dummy Content Generator → Generate Users".
	remove_submenu_page('wp_dummy_content_generator-dashboard', 'wp_dummy_content_generator-users');
	//Hide "Dummy Content Generator → Generate Posts".
	remove_submenu_page('wp_dummy_content_generator-dashboard', 'wp_dummy_content_generator-posts');
	//Hide "Dummy Content Generator → Generate Products".
	remove_submenu_page('wp_dummy_content_generator-dashboard', 'wp_dummy_content_generator-products');
	//Hide "Dummy Content Generator → Manage Thumbnails".
	remove_submenu_page('wp_dummy_content_generator-dashboard', 'wp_dummy_content_generator-thumbnails');
}

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

Where do I put this code?