Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
Switch between site environments directly from the admin bar.
Switch between site environments directly from the admin bar.
This plugin adds a visual menu to the admin bar, allowing users to jump between different versions of a site, such as production, staging, and local development. It is designed for developers and site administrators who manage sites across multiple hosting environments and need to switch contexts quickly without manually editing URLs.
wp_get_environment_type() function.wp_environment_switcher_environments), supporting both simple arrays and more detailed associative arrays.manage_options capability, but this can be modified using the standard capability mapping system to restrict or expand access as needed.No comments yet. Be the first to start the conversation!