Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
forked from WordPress Environment Switcher™
WP Environment Switcher is not affiliated with WordPress Environment Switcher. The name and any related trademarks are used solely for nominative descriptive purposes.
This plugin adds a visual control to the admin bar for developers and site administrators to quickly navigate between different versions of a site, such as local, staging, and production. It's designed for teams managing sites across multiple hosting environments, reducing the manual effort of typing URLs or managing bookmarks.
WP_ENVIRONMENT_TYPE constant, ensuring the correct site is highlighted in the menu.wp_environment_switcher_environments), supporting both simple arrays and more detailed configurations with custom labels.manage_options capability, which can be modified as needed.wp_environment_switcher_current_environment) allows you to manually set or override the detected environment type for specific use cases or custom setups.