10up-experience
10up-experience copied to clipboard
Define Support Monitor options with constants inside wp-config
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
- [X] I agree to follow this project's Code of Conduct