function plt_hide_quick_paypal_payments_menus() {
//Hide the "Settings → Paypal Payments" menu.
remove_submenu_page('options-general.php', 'quick-paypal-payments');
//Hide the "Payments" menu.
remove_menu_page('quick-paypal-payments-messages');
}
add_action('admin_menu', 'plt_hide_quick_paypal_payments_menus', 1000000000);