-
Home
-
BackWPup – WordPress Backup & Restore Plugin
- Tips
function plt_hide_backwpup_menus() {
//Hide "BackWPup".
remove_menu_page('backwpup');
//Hide "BackWPup → Dashboard".
remove_submenu_page('backwpup', 'backwpup');
//Hide "BackWPup → Jobs".
remove_submenu_page('backwpup', 'backwpupjobs');
//Hide "BackWPup → Add new job".
remove_submenu_page('backwpup', 'backwpupeditjob');
//Hide "BackWPup → Logs".
remove_submenu_page('backwpup', 'backwpuplogs');
//Hide "BackWPup → Backups".
remove_submenu_page('backwpup', 'backwpupbackups');
//Hide "BackWPup → Settings".
remove_submenu_page('backwpup', 'backwpupsettings');
//Hide "BackWPup → Restore".
remove_submenu_page('backwpup', 'backwpuprestore');
//Hide "BackWPup → About".
remove_submenu_page('backwpup', 'backwpupabout');
}
add_action('admin_menu', 'plt_hide_backwpup_menus', 11);
Where do I put this code?