Home / Admin / Defining Brevo (Sendinblue) Mailer Constants
Duplicate Snippet

Embed Snippet on Your Site

Defining Brevo (Sendinblue) Mailer Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area by setting up constants.

To get started, you’ll need to open your site’s wp-config.php file. Look for the line that reads:
/* That's all, stop editing! Happy publishing. */

Be sure to add any new code above this line.

Code Preview
php
<?php
/* Defining Brevo (Sendinblue) Mailer Constants  
 * 
 * Original doc: https://wpmailsmtp.com/docs/how-to-secure-smtp-settings-by-using-constants/
*/
define( 'WPMS_MAILER', 'sendinblue' );
define( 'WPMS_SENDINBLUE_DOMAIN', '' );
define( 'WPMS_SENDINBLUE_API_KEY', '' );

Comments

Add a Comment