10up/10up-experience

Define Support Monitor options with constants inside wp-config

Opened this issue · 0 comments

Is your enhancement related to a problem? Please describe.

I would like to define the Support Monitor options with a constant in the wp-config file. This would prevent settings from bleeding into the lower environments when a database migration takes place. We should keep the wp-admin settings screen but if constants are defined, use those values instead of the DB options.

These are the options I would like to control.

'enable_support_monitor' => 'no',
'api_key' => '',
'server_url' => 'https://supportmonitor.10up.com',
'production_environment' => 'no',

Code of Conduct

  • I agree to follow this project's Code of Conduct