How to Hide the "JWT Authentication" Admin Menu

function plt_hide_jwt_authentication_for_wp_rest_api_menus() {
	//Hide the "Settings → JWT Authentication" menu.
	remove_submenu_page('options-general.php', 'jwt_authentication');
}

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

Where do I put this code?