Define Instant Images variables from within the code of your current theme.
A PHP constant is essentially a configuration variable that once defined cannot be changed. Instant Images uses constants in various places throughout the core plugin for storing configuration data.
Use the following PHP constants in your
functions.php to set the provider API keys via backend code. Setting API keys via constants will remove the ability to modify the API keys via plugin settings.