function plt_hide_add_custom_google_tag_manager_menus() { //Hide the "Tag Manager" menu. remove_menu_page('custom-tag-manager'); } add_action('admin_menu', 'plt_hide_add_custom_google_tag_manager_menus', 11);
Where do I put this code?