function plt_hide_popup_maker_wp_menus() { //Hide the "Popup Maker" menu. remove_menu_page('popup-maker-api-settings'); } add_action('admin_menu', 'plt_hide_popup_maker_wp_menus', 11);
Where do I put this code?