function plt_hide_magical_posts_display_menus() { //Hide the "Magical Posts Display" menu. remove_menu_page('mgpd-page'); } add_action('admin_menu', 'plt_hide_magical_posts_display_menus', 11);
Where do I put this code?