-
Home
-
Living Comments – AI Comments & Replies
- Tips
function plt_hide_living_comments_menus() {
//Hide "Living Comments".
remove_menu_page('living-comments');
//Hide "Living Comments → Account Overview".
remove_submenu_page('living-comments', 'living-comments');
//Hide "Living Comments → Comment/Reply".
remove_submenu_page('living-comments', 'living-comments-settings');
//Hide "Living Comments → User Management".
remove_submenu_page('living-comments', 'living-comments-user');
//Hide "Living Comments → Comment History".
remove_submenu_page('living-comments', 'living-comments-history');
//Hide "Living Comments → Billing".
remove_submenu_page('living-comments', 'living-comments-billing');
//Hide "Living Comments → FAQ".
remove_submenu_page('living-comments', 'living-comments-faq');
}
add_action('admin_menu', 'plt_hide_living_comments_menus', 11);
Where do I put this code?