function plt_hide_geo_targetly_geo_location_menus() { //Hide the "Geo Location" menu. remove_menu_page('geotargetly_geo_location'); } add_action('admin_menu', 'plt_hide_geo_targetly_geo_location_menus', 11);
Where do I put this code?