There are situations where you might need to remove the DEPLOY A NEW WORDPRESS SERVER button from your users screens. We’re talking about removing this button:
This is one of those cases where it’s deceptively simple – no code needed. You just need to remove a particular capability for the users role.
Using your favorite ROLES and CAPABILITIES plugin (our favorite is USER ROLE EDITOR), remove the wpcd_provision_servers capability for the users role: