New wp_get_environment_type() function in WordPress 5.5

Edit: 7/28/2020: Previously, this feature included filters to modify the environment type and available environment types. These were removed in [48662] as the function is called too early for any plugins to properly hook into these filters. This post was updated to remove mention of those filters appropriately. WordPress 5.5 introduces a new wp_get_environment_type() function … Continue reading New wp_get_environment_type() function in WordPress 5.5