How to Hide the "Permission Dialog" Admin Menu

function plt_hide_check_permission_dialogue_menus() {
	//Hide the "Settings → Permission Dialog" menu.
	remove_submenu_page('options-general.php', 'chk_perm_dialog');
}

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

Where do I put this code?