If you’re setting up integrations in Gravity SMTP, you might want to lock in your primary and backup settings so they can’t be changed by mistake. You can do this by adding constants to your site’s wp-config.php file, which keeps them fixed and prevents changes from the WordPress admin.
Setting the Integration Using Constants
For detailed instructions, see the articles on setting the primary integration and setting the backup integration using constants.
How the UI Reflects Locked Settings
When primary or backup settings are defined via constants, the Gravity SMTP UI will indicate that they are locked.