
Where
v1.0.2Brad Parbs · 2021年8月26日 上架
A WordPress plugin to display your site's environment type in the admin bar.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 3,483
- 最近更新
- 2026年11月20日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+
贡献者
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.