-
Home
-
Angie – Agentic AI
- Tips
How to Hide the "Angie" Admin Menu
function plt_hide_angie_menus() {
//Hide the "Angie" menu.
remove_menu_page('angie-app');
}
add_action('admin_menu', 'plt_hide_angie_menus', 1000);
Where do I put this code?
How to Hide Angie Meta Boxes
function plt_hide_angie_metaboxes() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Hide the "Snippet Files" meta box.
remove_meta_box('angie_snippet_files', $screen->id, 'normal');
//Hide the "Environment Deployment" meta box.
remove_meta_box('angie_snippet_deployment', $screen->id, 'side');
}
add_action('add_meta_boxes', 'plt_hide_angie_metaboxes', 20);