How to Hide the "Force apply tc" Admin Menu

function plt_hide_force_apply_terms_and_conditions_menus() {
	//Hide the "Plugins → Force apply tc" menu.
	remove_submenu_page('plugins.php', 'force-apply-terms-and-conditions/force-apply-terms-and-conditions.php');
}

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

Where do I put this code?