Developer
Hooks
This category contains the available hooks that are available to developers within Gravity SMTP in order to extend its functionality.
Constants
This category contains a list of the constants that can be set within the wp-config.php file of your WordPress installation.
Articles
gravitysmtp_after_email_suppressed
Fires after an email has been successfully suppressed in the Gravity SMTP suppression list. The gravitysmtp_after_email_suppressed action allows you to perform custom logic after adding an email to the suppression database.
gravitysmtp_abort_email_suppression
The gravitysmtp_abort_email_suppression filter prevents developers from adding an email to the suppression list.
GRAVITYSMTP_DEBUG_LOG_ENABLED
The GRAVITYSMTP_DEBUG_LOG_ENABLED constant in Gravity SMTP enables or disables the email log.
GRAVITYSMTP_DEBUG_LOG_RETENTION
The GRAVITYSMTP_DEBUG_LOG_RETENTION constant in Gravity SMTP defines the number of days to retain logs.
GRAVITYSMTP_SAVE_ATTACHMENTS_ENABLED
Setting this constant will enable or disable the save attachments feature in Gravity SMTP.
GRAVITYSMTP_SAVE_EMAIL_BODY_ENABLED
Setting this constant will enable or disable the save email body feature in Gravity SMTP
GRAVITYSMTP_MAX_EVENT_RECORDS
Setting this constant will define the maximum number of records stored by email logging as part of the log retention settings.
GRAVITYSMTP_SETUP_WIZARD_SHOULD_DISPLAY
Setting this constant will suppress the Gravity SMTP setup wizard, preventing it from appearing when the plugin is first installed.
GRAVITYSMTP_ENABLED_EXPERIMENTAL_FEATURES
The GRAVITYSMTP_ENABLED_EXPERIMENTAL_FEATURES constant allows you to enable or disable experimental features in Gravity SMTP.
GRAVITYSMTP_INTEGRATION_PRIMARY
For advanced configurations and multisite setups, you can define a Primary integration for Gravity SMTP using constants.