How to Hide the "Gutenstrap Blocks" Admin Menu

function plt_hide_gutenstrap_blocks_menus() {
	//Hide the "Settings → Gutenstrap Blocks" menu.
	remove_submenu_page('options-general.php', 'gutenstrap_blocks');
}

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

Where do I put this code?