-
Home
-
All-in-One WP Migration and Backup
- Tips
function plt_hide_all_in_one_wp_migration_menus() {
//Hide "All-in-One WP Migration".
remove_menu_page('ai1wm_export');
//Hide "All-in-One WP Migration → Export".
remove_submenu_page('ai1wm_export', 'ai1wm_export');
//Hide "All-in-One WP Migration → Import".
remove_submenu_page('ai1wm_export', 'ai1wm_import');
//Hide "All-in-One WP Migration → Backups 0".
remove_submenu_page('ai1wm_export', 'ai1wm_backups');
//Hide "All-in-One WP Migration → Reset Hub Premium".
remove_submenu_page('ai1wm_export', 'ai1wm_reset');
//Hide "All-in-One WP Migration → Schedules Premium".
remove_submenu_page('ai1wm_export', 'ai1wm_schedules');
}
add_action('admin_menu', 'plt_hide_all_in_one_wp_migration_menus', 11);
Where do I put this code?