How to Hide SmartLook Visitor Recording Admin Menus

function plt_hide_smartlook_visitor_screen_recording_menus() {
	//Hide the "Settings → Smartlook" menu.
	remove_submenu_page('options-general.php', 'smartlook');
	//Hide the "Smartlook" menu.
	remove_menu_page('smartlook');
}

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

Where do I put this code?