function plt_hide_wpo365_msgraphmailer_menus() { //Hide the "WPO365" menu. remove_menu_page('wpo365-wizard'); } add_action('admin_menu', 'plt_hide_wpo365_msgraphmailer_menus', 11);
Where do I put this code?