I don’t understand wordpress, why is this wp_get_environment_type
function undefined
?
When solving this issue ( Change admin language based on user (in single-site) ), I did a function so that the plugin would auto-hide from all users except one (me:).