dekodeinteraktiv/dekode-label-environment

Adds a banner to the frontend and an item to the admin bar informing about the server environment

Installs: 20 148

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 2

Type:wordpress-muplugin

1.0.2 2022-12-02 11:32 UTC

This package is auto-updated.

Last update: 2024-04-30 00:28:45 UTC


README

  • Adds a banner to the top left of the screen with info about the current environment type.
  • Adds the same information to the admin bar in format "Environment: {current-environment}"

Filters:

  • dekode_label_environment_enabled: Can be used to turn the filters in this plugin off (bool - default true).
  • dekode_label_environment_banner_enabled: Can be used to show the banner also in production, e.g. during development of new site (bool - default true if not in production).

Example view:

Example view