You should have already followed the Hiding items which users should not access from the default menu recipe to have a starting point for this recipe, and the resulting plugin should still be active in your development site. Alternatively, you can get the resulting code (Chapter 3/ch3-hide-menu-item/ch3-hide-menu-item.php) from the downloaded code bundle.