How to Hide Buttons Admin Menus

function plt_hide_buttons_menus() {
	//Hide the "Wow Plugins" menu.
	remove_menu_page('wow-company');
	//Hide the "Wow Plugins →  Hey" menu.
	remove_submenu_page('wow-company', 'wow-company');
	//Hide the "Wow Plugins → Buttons" menu.
	remove_submenu_page('wow-company', 'wow-buttons');
}

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

Where do I put this code?