wp_get_environment_type is undefined
I don't understand wordpress, why is this wp_get_environment_type
function undefined
?
Isn't this a native wordpress function? How can I make it defined? Here is my code inside of a MU-Plugin file:
add_action('admin_init', function() {
$environment = wp_get_environment_type();
//...
Topic mu-plugins plugins Wordpress
Category Web