bradp/where

A WordPress plugin to display your site's environment type in the admin bar

Maintainers

Details

github.com/bradp/where

Source

Issues

Installs: 23 100

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 2

Forks: 1

Open Issues: 0

Type:wordpress-plugin

1.0.1 2021-08-25 16:54 UTC

This package is auto-updated.

Last update: 2024-10-29 06:12:52 UTC


README

A WordPress plugin to display your 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.