Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define Support Monitor options with constants inside wp-config #161

Open
1 task done
claytoncollie opened this issue May 2, 2024 · 0 comments · May be fixed by #164
Open
1 task done

Define Support Monitor options with constants inside wp-config #161

claytoncollie opened this issue May 2, 2024 · 0 comments · May be fixed by #164

Comments

@claytoncollie
Copy link
Contributor

claytoncollie commented May 2, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant