function plt_hide_promolayer_popup_builder_menus() { //Hide the "Promolayer" menu. remove_menu_page('promolayer'); } add_action('admin_menu', 'plt_hide_promolayer_popup_builder_menus', 11);
Where do I put this code?