function plt_hide_wp_stripe_global_payments_menus() { //Hide the "China Payments" menu. remove_menu_page('china-payments'); } add_action('admin_menu', 'plt_hide_wp_stripe_global_payments_menus', 1000000000);
Where do I put this code?