WP Dev Notice

[ad_1]

A WordPress plugin that displays a notification if you are working on a dev environment

You can configure the message that the notice displays, and the notice CSS class. The plugin comes with 3 notice levels:

  • wp-dev-notice-info
  • wp-dev-notice-warning
  • wp-dev-notice-danger

Install and activate the plugin. Overite the defaults in the wp-config.php if required.

define('WP_DEV_NOTICE_MESSAGE', 'You are working on a dev environment');
define('WP_DEV_NOTICE_CLASS', 'wp-dev-notice wp-dev-notice-warning');
define('WP_DEV_NOTICE_HIDE_IN_FRONTEND', false);
define('WP_DEV_NOTICE_HIDE_IN_BACKEND', false);
Installation Instructions

Install and activate the plugin. Overite the defaults in the wp-config.php if required.

define('WP_DEV_NOTICE_MESSAGE', 'You are working on a dev environment');
define('WP_DEV_NOTICE_CLASS', 'wp-dev-notice wp-dev-notice-warning');
define('WP_DEV_NOTICE_HIDE_IN_FRONTEND', false);
define('WP_DEV_NOTICE_HIDE_IN_BACKEND', false);

“WP Dev Notice” is open source software. The following people have contributed to this plugin.

Contributors

[ad_2]

source_link
وردپرس

Leave a Reply

8 − 4 =