
A WordPress plugin to display your site's environment type in the admin bar.
| Author: | Brad Parbs (profile at wordpress.org) |
| WordPress version required: | 5.2 |
| WordPress version tested: | 5.8.12 |
| Plugin version: | 1.0.1 |
| Added to WordPress repository: | 26-08-2021 |
| Last updated: | 26-08-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 100 |
| Rated by: | 1 |
| Plugin URI: | |
| Total downloads: | 2 921 |
![]() Click to start download |
|
Display your WordPress site’s environment type in the admin bar.
Available Filters
‘where_env_should_add_env_type’ – Defaults to true if the user is an admin and the admin bar is showing. Filter this to allow different roles to view as well.
‘where_env_environment_type’ – Modify the environment type. You’ll also need to use this filter if you’re running an older version of WP that doesn’t have the ‘get_environment_type’ function.
‘where_env_styles’ – An array of colors/icons to use for the different environment types.
