function plt_hide_ai_plus_block_editor_menus() { //Hide the "AI + Block Editor" menu. remove_menu_page('ai-plus-block-editor'); } add_action('admin_menu', 'plt_hide_ai_plus_block_editor_menus', 11);
Where do I put this code?