-
Home
-
AI Content Writer – Automatic Content Generator and Auto Poster
- Tips
function plt_hide_ai_content_writer_menus() {
//Hide "AI Content Writer".
remove_menu_page('ai-content-writer');
//Hide "AI Content Writer → Dashboard".
remove_submenu_page('ai-content-writer', 'ai-content-writer');
//Hide "AI Content Writer → Campaigns".
remove_submenu_page('ai-content-writer', 'aicw-campaigns');
//Hide "AI Content Writer → Generate Content".
remove_submenu_page('ai-content-writer', 'aicw-generate-content');
//Hide "AI Content Writer → Settings".
remove_submenu_page('ai-content-writer', 'aicw-settings');
//Hide "AI Content Writer → Help".
remove_submenu_page('ai-content-writer', 'aicw-help');
}
add_action('admin_menu', 'plt_hide_ai_content_writer_menus', 11);
Where do I put this code?