How to Hide BerqWP Admin Menus

function plt_hide_searchpro_menus() {
	//Hide the "BerqWP" menu.
	remove_menu_page('berqwp');
	//Hide the "Tools → Scheduled Actions" menu.
	remove_submenu_page('tools.php', 'action-scheduler');
}

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

Where do I put this code?