Disable hummingbird for local/staging environments
-
Is there some kind of constant that I can use in my wp-config.php in certain environments, like a local dev environment, where I can turn off hummingbird functionality entirely? Or maybe a few constants that turn off each piece?
I searched the plugin code and nowhere does this plugin make use of
wp_get_environment_type
function. Are there plans to integrate this newer function into this plugin?Running this plugin locally or on staging has become problematic since for asset optimization the site PATH is used in the settings and in a local/dev environment the PATH changes. I could search/replace for the path (which is what I’m doing) but seeing as this plugin is meant for production environments, turning it off via constant would be an easy thing for me to add to my environments’ wp-config.php files.
- The topic ‘Disable hummingbird for local/staging environments’ is closed to new replies.